Hacker Newsnew | past | comments | ask | show | jobs | submit | phew3's commentslogin

Extreme accretion/scope-creep of syntax (and features) across all languages continues, C++ is probably one of the most extreme example of this.

Everyone's trying to bring in the shiniest new toys from all other languages. So-called "modern C++" is an unbearable menu of every possible flavor of procedural, functional, OOP, templates, strong/weak typing, metaprogramming, and so much more. End result is a Frankenstein mix of C, Fortran, Pascal, Python, F#, Scala, C#/Java, Visual Basic, LUA, TCL, Rust, and what not... and that's before we even talked about the STL/STD situation in C++.

The only correct way to work with C++ is to agree on the most minimal subset of features needed for consistency and productivity in your codebase, stick to those and avoid adopting 95% of the crap that's being brought in. Ignore the noise.


Sorry for the nitpick, but ossification means the opposite of how you're using it here. It means existing structures / practices becoming frozen in place, by analogy with real ossification which is where flexible cartilage hardens into rigid bone.


Thanks!


Sure, but even then each org agrees on a different C++ subset. So each time you switch project you have to learn again.

And then there's the constant fear of UB, which the compiler doesn't tell you about. This language became too painful for me at least a decade ago.


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

Search: