News for hackers. Stuff that matters.
Re:Should we stop writing functions? (C++) by rewmie on Sunday August 06, 2023 @03:20PM (#37025560)
> This kind of post is why I do not understand C++ programmers whatsoever. It's basically a demonstration of the absurd amount of time C++ takes away from you by being the moldy pile of shit that it is.

What? Exactly what led you to think that nonsense? A random blog post of someone misusing lambda expressions?

There are plenty of things in C++ to criticize, but a) you are not actually criticising anything at all and instead spewed just noise b) misusing a feature is not a problem of C++.

Re:Should we stop writing functions? (C++) by Kranar on Sunday August 06, 2023 @05:54PM (#37027268)
This isn't a random blog post and the techniques in the blog are actually used by the standard library and some pretty major C++ libraries such as range-v3 and fmtlib.

The author of the blog post is in fact one of the authors of fmtlib.

Getting libraries to play nicely with ADL is actually a huge pain in the ass and in fact the three major C++ compilers don't agree with one another on how to actually perform name lookup in a large number of cases.

Re:Should we stop writing functions? (C++) by jb1991 on Tuesday August 08, 2023 @01:31AM (#37044879)
Don’t waste too much time trying to convince the commentor, as they have a history of accusing people of “spewing noise” in threads about C++.