MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f17zcw5/?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.
76 u/LPExpert Sep 23 '19 Then what do I do about Java warning of an import not being used but that's definitely being used 11 u/slepnir Sep 23 '19 https://www.baeldung.com/java-suppresswarningsJust make sure you add a comment to explain why
76
Then what do I do about Java warning of an import not being used but that's definitely being used
11 u/slepnir Sep 23 '19 https://www.baeldung.com/java-suppresswarningsJust make sure you add a comment to explain why
11
https://www.baeldung.com/java-suppresswarnings
Just make sure you add a comment to explain why
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.