Re:“C is how the computer works” is a dangerous mindset for ...
by pdimitar on Wednesday April 01, 2020 @01:34PM
(#22751338)
You'd be more helpful if you specified what else would you deem appropriate -- as opposed to resorting to snarky sarcasm that brings nothing interesting to the discussion except supposedly degrade people whose tech choices you disagree with.
[ Parent
| on HN ]
Re:“C is how the computer works” is a dangerous mindset for ...
by otabdeveloper2 on Friday April 03, 2020 @02:54AM
(#22766847)
The phrase 'undefined behavior' only makes sense in the context of an ISO standard.
For any particular combination of compiler, OS and computer architecture there are no 'undefined behaviors'; you only care about the concept if you want portability to a different compiler/OS/architecture.
So the idea that C++ sucks because of 'undefined behavior', so let's use some random language without an ISO standard or any portability guarantees at all is completely and utterly insane.