Why UTF-8/16 character encodings?

Simen Kjaeraas simen.kjaras at gmail.com
Tue May 28 06:12:11 PDT 2013


On Tue, 28 May 2013 01:05:46 +0200, Walter Bright  
<newshound2 at digitalmars.com> wrote:

> 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've recently come to the opinion that you're wrong - using them is often
wrong, but D should support them. Various good reasons have been posted
in this thread.

-- 
Simen


More information about the Digitalmars-d mailing list