4 ms·
>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 m
by copyconstruct 9y 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.
- whack 9y agoWe're going far off into a tangent but to answer your question: - 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