|
|
|
|
|
by copyconstruct
3238 days ago
|
|
>At my recent companies, I've even seen senior developers, people with fancy degrees and 200k+ salaries, write code that's horrendously hard to understand and maintain, because it's endlessly duplicated and squashed into a single long function. Ever wondered that they might be senior and commanding those salaries because they think and program a certain way? Have you ever discussed this with them? Many senior developers tend to shy away from abstractions in my experience, and they do it for a reason. |
|
- the code in question constantly produced production bugs
- the code in question was extremely hard to debug when said production bugs surfaced
- everyone complained about that code being problematic, including other more senior engineers with 300k+ salaries
- all the above problems went away and everyone was pleased when I broke it up into smaller pieces