63 ms·
Where I work, we have static analysis tools.. plus the ability to "override" (tell the tool to ignore this case) when we feel it makes sense ("I know what I'm d
by RHSeeger 3y ago
Where I work, we have static analysis tools.. plus the ability to "override" (tell the tool to ignore this case) when we feel it makes sense ("I know what I'm doing here"). And then peer reviews to help make sure those overrides make sense.
- cratermoon 3y agoI 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?
- RHSeeger 3y agoStatic 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.