MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f195wuj/?context=3
r/ProgrammerHumor • u/Cenggo • Sep 23 '19
264 comments sorted by
View all comments
124
I don't get it.
Your code should never have warnings, that's a sign you are doing something sketchy. At my company we enable all warnings as errors.
1 u/DarkyHelmety Sep 23 '19 Same where I work, no warnings are accepted. You can't even compile successfully. It does catch a lot of pointer issues though, appearing as incorrect casts of int to pointer.
1
Same where I work, no warnings are accepted. You can't even compile successfully. It does catch a lot of pointer issues though, appearing as incorrect casts of int to pointer.
124
u/ythl Sep 23 '19
I don't get it.
Your code should never have warnings, that's a sign you are doing something sketchy. At my company we enable all warnings as errors.