Two polls coming. I'm curious about the same question but from two different perspectives. When you are programming, *of these choices*, what is most important *to you*?
For the purposes of arguing whether a programmer/company desires correctness (no UB), it's very strawman. Most companies would desire avoiding your example, but would be perfectly fine with mine.
-
-
If it's *all* UB vs perf, perf wins IMO. If you allow UB that I have tested on all hardware I will deploy on and it does the desired behavior, then correctness wins.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
-
-
That example of mine was specifically in response to a question about how code can appear to work but be incorrect on closer examination
-
BTW: there may be followers of mine who don't know that this is Undefined Behavior (UB) vs any number of other possible decryptions of the acronym.
Keskustelun loppu
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.