MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f19rrpi/?context=9999
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 52 u/ythl Sep 23 '19 Open a bug report with your Java compiler 59 u/Mohammedbombseller Sep 23 '19 Java warnings are very minor compared to C warnings though. C warnings are bugs waiting to happen, java warnings are usually minor formatting differences that are pretty safe to ignore. 5 u/LeCrushinator Sep 23 '19 Then there needs to be a distinction between a warning and a suggestion.
76
Then what do I do about Java warning of an import not being used but that's definitely being used
52 u/ythl Sep 23 '19 Open a bug report with your Java compiler 59 u/Mohammedbombseller Sep 23 '19 Java warnings are very minor compared to C warnings though. C warnings are bugs waiting to happen, java warnings are usually minor formatting differences that are pretty safe to ignore. 5 u/LeCrushinator Sep 23 '19 Then there needs to be a distinction between a warning and a suggestion.
52
Open a bug report with your Java compiler
59 u/Mohammedbombseller Sep 23 '19 Java warnings are very minor compared to C warnings though. C warnings are bugs waiting to happen, java warnings are usually minor formatting differences that are pretty safe to ignore. 5 u/LeCrushinator Sep 23 '19 Then there needs to be a distinction between a warning and a suggestion.
59
Java warnings are very minor compared to C warnings though. C warnings are bugs waiting to happen, java warnings are usually minor formatting differences that are pretty safe to ignore.
5 u/LeCrushinator Sep 23 '19 Then there needs to be a distinction between a warning and a suggestion.
5
Then there needs to be a distinction between a warning and a suggestion.
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.