DIP80: phobos additions
Dominikus Dittes Scherkl via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 23 09:33:28 PDT 2015
On Wednesday, 17 June 2015 at 09:28:00 UTC, Tofu Ninja wrote:
>
> I actually thought about it more, and D does have a bunch of
> binary operators that no ones uses. You can make all sorts of
> weird operators like +*, *~, +++, ---, *--, /++, ~~, ~-, -~,
> >>>--, &++, ^^+, in++, |-, %~, ect...
>
+* is a specially bad idea, as I would read that as "a + (*b)",
which is quite usual in C.
But in general very cool. I love ~~ and |- the most :-)
More information about the Digitalmars-d
mailing list