Live data from Hacker News

Should we stop writing functions? (C++)

foonathan.net

41–44 of 44 posts

Re: Should we stop writing functions? (C++)

#41
post #12
post #7

Earlier quoted context omitted.

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

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 loo…

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++.

Re: Should we stop writing functions? (C++)

#44

Earlier quoted context omitted.

I always push back on decisions that have benefits with reduced debugability. It's rarely worth the hassle to take on a "more performant" or easier to develop tool if devs can't easily figure out what's wrong with it. Especially in a big company where people move around, and tend not to be familiar with tools...

That's a brave argument I'd rarely make of "We could do this thing with major tangible benefits but our Devs might find it a bit hard"

Lot of ego in what you are implying.
Post reply on HN