Re:Care is needed to use C++ std:optional with non-trivial o...
by jay-barronville on Friday January 13, 2023 @08:41AM
(#34367482)
Sorry, I beg to differ. C is a simple language. The overwhelming majority of issues I’ve encountered writing C code haven’t had anything to do with the language; most issues have turned out to be due to architecture, kernel, OS, etc.-related differences, peculiarities, and/or issues. C++, on the other hand, makes it incredibly easy to shoot yourself in the foot at the language level.
[ Parent
| on HN ]
Re:Care is needed to use C++ std:optional with non-trivial o...
by rightbyte on Friday January 13, 2023 @11:42AM
(#34370255)
> Sorry, I beg to differ. C is a simple language.
The problem with C is that it so simple that it is simple to complain about it.
Other languages hide their quirks deeper down and are harder to complain about.