Code Duplication: D.R.Y
HTML-код
- Опубликовано: 17 сен 2024
- This episode will delve into patterns and tradeoffs involving duplication of code. We will try to answer the question: when is code duplication a reasonable tradeoff, and when should we avoid it?
We first start with duplicated code in two codebases, then reduce duplication by implementing a shared library, and finally
explore another approach by extracting common functionality using a microservice.