Clean Code Tip: Avoid subtle duplication of code and logic
Duplication is not only about lines of code, but also about data usage and meaning.
Reducing it will help us minimize the impact of every change.
Take this class as an example:
class BookShelf
{
private Book[] myBooks = new Book[]
{
...
code4it.hashnode.dev2 min read