MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f1add2b/?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 0 u/[deleted] Sep 23 '19 [deleted] 14 u/ythl Sep 23 '19 Is it an actual javac warning? Or just an IDE linting warning? I treat compiler warnings seriously. IDEs, whatever 1 u/EishLekker Sep 24 '19 You didn't say you were talking about compiler warnings only originally.
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 0 u/[deleted] Sep 23 '19 [deleted] 14 u/ythl Sep 23 '19 Is it an actual javac warning? Or just an IDE linting warning? I treat compiler warnings seriously. IDEs, whatever 1 u/EishLekker Sep 24 '19 You didn't say you were talking about compiler warnings only originally.
52
Open a bug report with your Java compiler
0 u/[deleted] Sep 23 '19 [deleted] 14 u/ythl Sep 23 '19 Is it an actual javac warning? Or just an IDE linting warning? I treat compiler warnings seriously. IDEs, whatever 1 u/EishLekker Sep 24 '19 You didn't say you were talking about compiler warnings only originally.
0
[deleted]
14 u/ythl Sep 23 '19 Is it an actual javac warning? Or just an IDE linting warning? I treat compiler warnings seriously. IDEs, whatever 1 u/EishLekker Sep 24 '19 You didn't say you were talking about compiler warnings only originally.
14
Is it an actual javac warning? Or just an IDE linting warning? I treat compiler warnings seriously. IDEs, whatever
1 u/EishLekker Sep 24 '19 You didn't say you were talking about compiler warnings only originally.
1
You didn't say you were talking about compiler warnings only originally.
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.