Hacker News new | past | comments | ask | show | jobs | submit login

> Extra is finishing those two screens, but then researching a new library for form validation that might reduce the boilerplate code. Or it's learning ways to protect against common security vulnerabilities from data entry.

How about making sure your code doesn't "work by coincide". Ensuring you don't have any dead code, etc. I recently cleaned up a bit of code by straight up just deleting 80% of the lines. It still worked, it still did essentially the same thing. It wasn't a refactor, just deleting lines. 80% of the code before was just leftovers from someone's experimenting to get it to work, as soon as it appeared to work it was, commit, force push, go home (I'm kidding about the force push, probably). That's not good enough.

So I agree with the article, once it works, you're half done.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: