Ive run into this behavior many times myself! Its super annoying - TopicsExpress



          

Ive run into this behavior many times myself! Its super annoying because these are easy mistakes to make by accident. And tragic because while formal training strongly emphasizes avoiding undefined behavior, self-taught programmers rarely learn these things at all and resort to helpless wailing rage on StackOverflow when it happens. Coders, 1. Always debug your code with optimizations turned off. (-O0 compiler flag in gcc/g++, Visual Studio, and clang/Xcode). Hackers, 2. If you ever take apart a game and think, wtf, why did the devs do it this way, it makes no sense 80% of the time its a compiler optimization. (The other 20% its stupidity or politics.)
Posted on: Sat, 28 Jun 2014 20:51:20 +0000

Recently Viewed Topics




© 2015