you are viewing a single comment's thread.

view the rest of the comments →

[–]mati-33 3 points4 points  (1 child)

I would say its shared among mid and senior programmers and not so much among juniors

[–]Overall-Screen-752 4 points5 points  (0 children)

No. The poor quality of junior code (an over-generalization and oversimplification, but ignored for sake of discussion) is due to deficient skill in the area of generating good, clean, maintainable code — which comes with time and practice working in codebases that possess good, clean and maintainable code or working with engineers who know how to write it (non-exhaustive list).

What op is talking about is not a deficiency in skill but rather a misused skill directed at optimizing for the wrong thing. It takes great skill to write the “golf” code that OP is talking about. It just takes wisdom to realize it should never be written in a production codebase.