News for hackers. Stuff that matters.
Re:Esoteric C++ Contest 2018 by the_duke on Saturday March 23, 2019 @09:00AM (#19470268)
Some of these are hilarious. I'm always astounded how easy it is to shoot yourself in the foot with C++.

It's such a important, transformative and widely used language, but due to the age and the "let's put everything in without ever removing anything because backwards compatability!" mentality has created a monster.

Re:Esoteric C++ Contest 2018 by mannykannot on Saturday March 23, 2019 @08:52PM (#19473320)
It's not just the number of things, but the way they combine, as in the rules for argument-dependent lookup (not to be mistaken for unqualified name lookup or template type deduction.) When you have pointers and two or arguably three types of references, and arrays that decay to pointers in some cases, there's a lot of different cases to be considered. It's quite an achievement that it often works the way you want.

https://en.cppreference.com/w/cpp/language/adl

Re:Esoteric C++ Contest 2018 by hughw on Saturday March 23, 2019 @02:24PM (#19471638)
Oh, they remove stuff. See "Deprecating Vestigial Library Parts in C++17" [1].

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p017...

Re:Esoteric C++ Contest 2018 by paulddraper on Saturday March 23, 2019 @02:59PM (#19471801)
To be fair, how many languages are as old and as widely used as C++?(Only one: C)

Anybody can create a some shiny new language or maintain a beautiful unused language.

Re:Esoteric C++ Contest 2018 by basementcat on Saturday March 23, 2019 @05:43PM (#19472514)
Fortran. Ok, maybe not as widely used :)
Re:Esoteric C++ Contest 2018 by rini17 on Saturday March 23, 2019 @03:39PM (#19471996)
Common Lisp :)
Re:Esoteric C++ Contest 2018 by bsder on Saturday March 23, 2019 @09:21PM (#19473468)
COBOL