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

Unit tests aren't going to help with syntax errors. If it won't compile, then you can't run a unit test against it!



Yes. But as has been pointed out, I was imprecise: I should have said "syntax goof" or somesuch. It was an error "in" syntax, not "of" syntax.


I didn't notice the correction :-) In that case, yeah a unit test will definitely help.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: