Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: What's a programming technique you felt you should've learned sooner?
2 points by era86 on Dec 17, 2013 | hide | past | favorite | 3 comments
I've JUST learned about SOLID OOP a couple of months ago. I always had "feelings" about code that broke these principles, but never had a way to explain it. Now, I have something concrete to use when I discuss somewhat unclean code with others.


I should have learned to write tests a long time ago.

I'm not necessarily a fan of full-on TDD, but I would have been better off on some previous projects if I had written tests that provided at least partial coverage.


Talking a short walk when stuck on a problem.


The power of debuggers.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: