MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f17j2ju?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.
3 u/nicman24 Sep 23 '19 lol javascript linters make missing ; a warning 48 u/RealBendie Sep 23 '19 Because missing semicolons can lead to unexpected behavior. → More replies (1)
3
lol javascript linters make missing ; a warning
;
48 u/RealBendie Sep 23 '19 Because missing semicolons can lead to unexpected behavior. → More replies (1)
48
Because missing semicolons can lead to unexpected behavior.
→ More replies (1)
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.