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

You're kidding right? It's pretty simple to write small methods from the start, trivial in fact. If you think small methods come from lot's of cutting up of larger methods then you're doing it wrong. Writing well factored code isn't some magic trick that requires doing it wrong first and then refactoring to get it right.

Your sarcasm is misplaced and presumes bad code always comes before good code, it doesn't.



I'm saying that it's easy to always try to do something, it's not always easy to succeed the first time.

You should always make it easy for yourself to fix mistakes, even if you shouldn't have made them in the first place.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: