Uniform Function Call Syntax?
Era Scarecrow via Digitalmars-d
digitalmars-d at puremagic.com
Sun Mar 6 23:58:53 PST 2016
On Monday, 7 March 2016 at 06:57:48 UTC, Ola Fosheim Grøstad
wrote:
> immutable π = 3.14;
>
> Oh, the horror!
With the assumption pi is declared elsewhere (say, in std.math),
what i wonder is the number for pi vs 2 letters. Unicode 03C0h,
so now i have to convert that to decimal, code 960. Alt+960 = └
That's not pi... Looking up the symbol by itself in the
character map was annoying enough. No, this is not a good idea
unless it's easily accessible, preferably with 2 or fewer
keystrokes to symbolize pi.
As a reminder most of us are programmers, not scientists or
mathematicians. Having specialized symbols won't give us any
benefit. It's not like we're filling out a complex formula with
college level math for a thesis.
More information about the Digitalmars-d
mailing list