Today I googled something, found an answer, set out to make sure it was demonstrably correct (via #godbolt), and found it wasn't.
https://stackoverflow.com/a/53357033/804338 …
Having #godbolt readily available has improved the way I research about programming.
-
Näytä tämä ketju
-
My attitude toward
#cplusplus compilers was always "don't trust the compiler". Since being able to see what the compiler does and being surprised by how good it is, my new attitude is "trust, but verify."1 vastaus 0 uudelleentwiittausta 1 tykkäysNäytä tämä ketju
Also, just write your code as plainly as possible. If -- and only if -- you find that your code needs to be written less plainly for performance concerns, then write it less plainly.
19.19 - 17. marrask. 2018
0 vastausta
0 uudelleentwiittausta
2 tykkäystä
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.