Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are you saying you've never written code and then later came back to it, saying "Who wrote this shit?" and did a git blame, only to find out it was you?


If you can't read your own code, then the language isn't your problem.


Seems like someone never solved a complex problem.


Full on ad-hominem, eh?


and in comparison your comment wasn't?


Who was I attacking? Writing unreadable code isn't a language problem. Even in doc-poor environments, the names and sparse comments should be enough. If not, the language can't help you choose good names.


Good luck remembering complex business logic in your perfectly readable code and all external dependencies (DBs, other microservices, etc.) a few months after you last touched it, and in the middle of the night.

And after a few refactorings.

Most errors have nothing to do with “unreadable code”.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: