Quote of the week
I think people believe that the compiler will warn them something like: "warning: Assigning a subtract operation to an unsigned!" but the compiler is never going to do that. Unsigned is just a declaration that "I'm never going to be surprised so let's make this stuff more dangerous and fun!"— Dan Carpenter
Posted Jun 3, 2021 18:28 UTC (Thu)
by davecb (subscriber, #1574)
[Link] (2 responses)
Posted Jun 4, 2021 0:22 UTC (Fri)
by Paf (subscriber, #91811)
[Link] (1 responses)
Posted Jun 4, 2021 13:27 UTC (Fri)
by khim (subscriber, #9252)
[Link]
I haven't worked with B, but used FORTH with the exact same property. It's much less “fun” than modern C or C++. Because in languages like B or FORTH the typical situation is “I had million lines of code which worked, I have added ten lines of code and program no longer works — let me spend couple of hours to see what's wrong with these 10 lines”. But with modern C/C++ it's “I had million lines of code which worked, I have added ten lines of code and program no longer works — let me spend couple of months to see what's wrong with these million lines and what exactly allowed compiler to
Posted Jun 7, 2021 11:44 UTC (Mon)
by guus (subscriber, #41608)
[Link]
Quote of the week
Quote of the week
Quote of the week
screw me up again optimize my code in unexpected way”.Quote of the week
