Interesting user mistake

jmh530 via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 3 12:52:09 PDT 2015


On Thursday, 3 September 2015 at 18:37:53 UTC, Luís Marques wrote:
>
> I like to use the unary plus *in some cases* of tabular data, 
> to reinforce the signess. Something like this:
>
> auto foo = [
>     +1234,
>     -5678,
>     -4242,
>     +9999
> ];

I don't do it often, but I've seen lots of people do it too in 
other languages. Most notably, I see a lot of the older people in 
my office will start excel equations with + instead of =, then 
excel will add in a =+. I think something like Lotus-1-2-3 did 
things that way and they never changed.


More information about the Digitalmars-d mailing list