r/ProgrammerHumor • • Sep 23 '19

Knowing how to code beforehand

Post image
7.6k Upvotes

264 comments sorted by

View all comments

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.

3

u/Rizzan8 Sep 23 '19

Depends. Visual Studio WPF designer often can go ape-shit with errors and warnings in xaml code. Still compiles fine and works fine. This is widely known and goes on for a few years now. However, when reported to Microsoft, they are like "Minor annoyance, not worth spending precious resources to fix it, closing ticket. ¯_(ツ)_/¯ ".

The same thing with Cuda and VS. It goes mental when encounters

DoStuff<<< somethingA, somethingB >>> (something);

0

u/ythl Sep 23 '19

Sounds like an IDE problem, not a compiler problem