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

Lessons learned from somebody who wrote a pretty large node app and is almost done with a rewrite:

* Yes, async coding is hard.

* Debugging can be tough, but good coding helps.

* 95% of most node apps will be pure JS that does not perform any I/O.

* Test driven development really shines in combination with node

Make sure you keep that last point in mind when you build something with node. Reasoning about async code can be tricky, but TDD will force designs upon you that make it simple.

--fg




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: