▲ | tialaramex 4 days ago | |
> It makes me shudder to think about code that is written in such a manner. Often it has the property which was good enough for generations of C and C++ programmers, it compiles. Does it work? Eh. Do the tests, if there even are tests, check anything useful? Eh. The focus on "it doesn't matter so long as it compiles" justifies everything up to IFNDR†, the explicit choice in C++ that if what you've written is nonsense but it would not be easy to modify the compiler to notice, just don't worry about it and say it's somebody else's problem. † "Ill-formed, No Diagnostic Required" these words or near equivalent occur frequently in the ISO definition of the language. |