8 ms·
Except it doesn't offer the safety alternatives that C++ has, thus it is a big unsafe bunch of code. Using C++ doesn't mean having to use the whole standard.
by pjmlp 11mo ago
Except it doesn't offer the safety alternatives that C++ has, thus it is a big unsafe bunch of code.
Using C++ doesn't mean having to use the whole standard.
Now if C type safety actually was like Modula-2, Object Pascal or Zig, that would not be as bad.
- flohofwoe 11mo ago> Except it doesn't offer the safety alternatives that C++ has, thus it is a big unsafe bunch of code. C++ adds more new unsafe concepts on top of C than C ever had though ;) (see std::view, std::range or good old iterator invalidation - at least in C the unsafety is in your face and not hidden under layers of stdlib code)