Good grief.
Posted Mar 29, 2013 9:31 UTC (Fri) by
oldtomas (guest, #72579)
In reply to:
Good grief. by HelloWorld
Parent article:
A look at C++14, part 1
Actually I wasn't complaining about the | (still: for me it's not clear whether it's wise to overload operators this way. I mean: overloading + to add complex, quaternions or polynomials would work for me, but this seems borderline). It's mnemonic enough, at least for shell programmers.
I was rather complaining about this
(pipeline::from() ... ).run(&threadpool) business.
Actually (for me, at least: I know it's a matter of taste), it's the juxtaposition of this very idiomatic
| sugar to that very
C++ish
(...).run(&foo) what conjures up images of Komodo dragons with lipstick on them. Shudder.
(
Log in to post comments)