6 ms·
> Ever start a new job with a bulk of code you didn't write? Worse, ever take over code written by novices who ignore common conventions? Yes, I have seen lots
by sseagull 5y ago
> Ever start a new job with a bulk of code you didn't write? Worse, ever take over code written by novices who ignore common conventions?
Yes, I have seen lots of this in scientific computing. However, things like too many/not enough spaces, line widths, etc, are never a huge hindrance for me.
What does make code "hard to read" are things like bad and inconsistent variable/function/class names, bad inheritance practices, bad file organization, and not adhering to common language idioms. That stuff is rarely, if ever, caught by linters.
Great talk by Raymond Hettinger about this: https://www.youtube.com/watch?v=wf-BqAjZb8M https://www.youtube.com/watch?v=wf-BqAjZb8M