Well, you can use it to neatly line up positive and negative values in
a monospaced font... other than that I don't know!
--
http://www.kynosarges.de
Michael,
This is one of those things where any reference you care to hunt down
quotes the same exact definition, which tells me that no one has a
coherent explanation. It is probably an item of esoterica that's thrown
in for "completeness" from the perspective of the language designer, but
I can't think of a use for us mere mortals, except that tutorials feel
obligated to mention it because it's there ;-)
--Bob
> Other than to create confusion, does the unary plus operator serve any
> purpose at all?
[quoted text clipped - 4 lines]
>
> where +y is the same value as y, whether positive or negative.