MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f17wrkd/?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.
3 u/nicman24 Sep 23 '19 lol javascript linters make missing ; a warning 12 u/Logstone Sep 23 '19 Yes, use them! This isn't python! 4 u/Dornith Sep 23 '19 Even in python use them. And while you're at it, add some curly braces. And variable declarations. And code in a different language. 4 u/Logstone Sep 23 '19 And if you really need to run it as python, don't.
3
lol javascript linters make missing ; a warning
;
12 u/Logstone Sep 23 '19 Yes, use them! This isn't python! 4 u/Dornith Sep 23 '19 Even in python use them. And while you're at it, add some curly braces. And variable declarations. And code in a different language. 4 u/Logstone Sep 23 '19 And if you really need to run it as python, don't.
12
Yes, use them! This isn't python!
4 u/Dornith Sep 23 '19 Even in python use them. And while you're at it, add some curly braces. And variable declarations. And code in a different language. 4 u/Logstone Sep 23 '19 And if you really need to run it as python, don't.
4
Even in python use them. And while you're at it, add some curly braces. And variable declarations. And code in a different language.
4 u/Logstone Sep 23 '19 And if you really need to run it as python, don't.
And if you really need to run it as python, don't.
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.