5 ms·
this blog post will be a great barometer of commenters who read the post vs those who don't
by abalaji 1y ago
this blog post will be a great barometer of commenters who read the post vs those who don't
- jeffbee 1y agoTHUITFHNGL Fortunately almost all the functional features in the article, like range folds and negation wrappers, do exist.
- mindcrime 1y ago> THUITFHNGL Tragic Harvest Underwrites Infrastructure That Frobs Haptic Network Generation Load?
- deleted 1y ago[deleted]
- slater 1y agoWhen in doubt, UD it: https://www.urbandictionary.com/define.php?term=THUITFHNGL https://www.urbandictionary.com/define.php?term=THUITFHNGL
- mindcrime 1y agoOh I did. I just couldn't resist the temptation to have some fun with it. :-)
- scubbo 1y agoCan you help me out with an expansion of "TFA", when used to refer to the original post in comments? I simply don't believe that every commenter is using it to mean "The Fucking Article" in comments that are otherwise devoid of aggression or profanity.
- mindcrime 1y agoI can't speak for anybody else, but when I see "TFA" I do indeed translate it as "The Fucking Article". But if it makes you feel better you can think of it as "The Friggin' Article" or "The Fine Article" or something else less profane.
- forrestthewoods 1y agoI skimmed the post. I have absolutely no idea what std::flip is supposed to do. All the sample code looks awful and undesirable. And that’s coming from someone who writes C++ every day. Yes I read the plot twist at the end, made me lol.
- loeg 1y ago> I have absolutely no idea what std::flip is supposed to do. Just reverse parameter order. It seems very silly. void f(int, double); void main() { flip(f)(3.14, 1); }
- gblargg 1y agoYou do realize it's not meant for silly situations like that, right?
- forrestthewoods 1y agoI am insufficiently clever to imagine a non-silly situation in which it is useful. If authors only present silly use cases then I am inclined to suspect their creations are only useful in silly cases. If it were useful in solving real problems they should show that as an example!
- loeg 1y agoI cannot imagine a not-silly situation where it would be used.
- omoikane 1y agoIf I have a library that let me curry trailing arguments for a function, then I can see how something like std::flip() could be useful in letting me curry different arguments without costing extra lines of code. The library I had in mind is Google's RPC callbacks: https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/stubs/callback.h https://github.com/protocolbuffers/protobuf/blob/main/src/go... This library was written in the C++98 era. It might seem silly now because with C++11, we could use std::bind or lambda expressions instead.