|
|
|
|
|
by Aardwolf
1482 days ago
|
|
IMHO the time for doing analysis like this is before submitting code, not before compiling it. Ideally you want code without unused variables, implicit type casts, ... in a repository. But when you are locally testing out code you're in progress of writing, it is very unproductive if you have to care about unused variables because you're commenting out one line to see the difference, or change casts everywhere because you change the type something temporarily. It'd be nice to only do the work of cleaning up such issues in the final version of your change. These checks are enabled by default in many environments, build tools or scripts for them etc..., it's not trivial to disable it or requires full recompile. So I wish a language or build environment would use the concept of "development time" vs "submitting time" for different sets of warnings-as-errors. |
|
I hate it with a passion. Please respect my mental flow, if I'm trying some ideas out, it's just rude to stop me in my tracks to tell me I forgot to comment out a variable. Who cares.
I will fight anyone who thinks this is a good idea.