| Previous HN discussion: "Why can't you guys comment your fucking code" https://news.ycombinator.com/item?id=14692691 Copy&pasting my response there: --- Why is code coming out of research labs/universities so bad? 1. DON'T SEE WHY CLEAR CODE MATTERS Academic projects are typically one-offs, not grounded in a wider context or value chain. Even if the researcher would like to build something long-term useful and robust, they don't have the requisite domain knowledge to go that deep. The problems are more isolated, there's little feedback from other people using your output. 2. DON'T WANT TO WRITE CLEAR CODE Different incentives between academic research (publications count, citation count...) and industry (code maintainability, modularity, robustness, handling corner cases, performance...). Sometimes direct opposites (fear of being scooped if research too clear and accessible). 3. DON'T KNOW HOW TO WRITE CLEAR CODE Lack of programming experience. Choosing the right abstraction boundaries and expressing them clearly and succinctly in code is HARD. Code invariants, dependencies, comments, naming things properly... But it's a skill like any other. Many professional researchers never participated in an industrial project, so they don't know the tools, how to share or collaborate (git, SSH, code dissemination...), so they haven't built that muscle. The GOOD NEWS is, contrary to popular opinion, it doesn't cost any more time to write good code than bad code (even for a one-off code base). It's just a matter of discipline and experience, and choosing your battles. |
Who is that clown? and why is the shit-post of a 4-day old reddit account being discussed all over the interwebs like gospel?
That person very likely has regrets not finishing high school and is venting frustration in the form of misplaced anger.