Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Anectodal and probably my bubble, but quite a few people had moved from C to C++ long time ago, but then got fed up with where modern C++ is heading (mostly around C++14 and C++17) and went back to C.




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.


> 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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: