3 ms·
Very educational. I take exception with the common assertion that 'code is broken' if it doesn't work everywhere for every architecture. Code deployed for a pa
by JoeAltmaier 6y ago
Very educational.
I take exception with the common assertion that 'code is broken' if it doesn't work everywhere for every architecture. Code deployed for a particular purpose on a particular machine with a particular toolchain can work great and be 'correct' for that environment. I work in such environments all the time. And taking the time/performance hit seeking ill-conceived perfection wastes the clients time and money.
But for the vast majority of cloud-deployed or open-source prjects, its certainly wise to err on the side of 'perfect'.
- brucedawson 6y agoWhen I said "that code was probably broken already" I meant that while the code might currently be working it could suddenly stop working if you upgrade your compiler. Yes, you are free to take that risk, but relying on things not guaranteed by the language is dangerous.