TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What's a programming technique you felt you should've learned sooner?

2 pointsby era86over 11 years ago
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.

3 comments

japhyrover 11 years ago
I should have learned to write tests a long time ago.<p>I&#x27;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.
blitiover 11 years ago
Talking a short walk when stuck on a problem.
hanspeideover 11 years ago
The power of debuggers.