You join a new team and after a brief onboarding you are given your first task. It’s a simple one — you need to display an additional input field on a page.
After some digging you find out that most pages use the same generic component to display forms.
“That’s easy” — you say — “I can just add another parameter to it”
Then you open the file and you see that the four engineers before you had done the exact same thing. Multiple times. At this point you take a deep breath and realise that the next week is going to be interesting.

#javascript #software-design #computer-science #design-patterns #software-development

The Cost of Wrong Abstractions
1.40 GEEK