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

I worked with a programmer who littered his code with the incantations that disabled the linter, compiler warnings, static analyzer flags, and so on. His code passed all the automatic tools with nary a blip. Was it good code?


Static analyzers are a tool. And peer reviews are a tool. And compilers are a tool. Being able to combine tools together (as I noted we did) helps you generate better code.




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

Search: