Why UTF-8/16 character encodings?
Marco Leise
Marco.Leise at gmx.de
Wed May 29 03:03:59 PDT 2013
Am Mon, 27 May 2013 16:05:46 -0700
schrieb Walter Bright <newshound2 at digitalmars.com>:
> On 5/27/2013 3:18 PM, H. S. Teoh wrote:
> > Well, D *does* support non-English identifiers, y'know... for example:
> >
> > void main(string[] args) {
> > int число = 1;
> > foreach (и; 0..100)
> > число += и;
> > writeln(число);
> > }
> >
> > Of course, whether that's a good practice is a different story. :)
>
> I've recently come to the opinion that that's a bad idea, and D should not
> support it.
I hope that was just a random thought. I knew a teacher who
would give all his methods German names so they are easier to
distinguish from the English Java library methods.
Personally I like to type α instead of alpha for angles, since
that is the identifier you'd expect in math. And everyone
likes "alias ℕ = size_t;", right? :) Déjà vu?
--
Marco
More information about the Digitalmars-d
mailing list