Why UTF-8/16 character encodings?

Manu turkeyman at gmail.com
Thu May 30 17:10:50 PDT 2013


On 31 May 2013 10:00, Peter Williams <pwil3058 at bigpond.net.au> wrote:

> On 31/05/13 05:07, Walter Bright wrote:
>
>> On 5/30/2013 4:24 AM, Manu wrote:
>>
>>> We don't all know English. Plenty of people don't.
>>> I've worked a lot with Sony and Nintendo code/libraries, for instance,
>>> it almost
>>> always looks like this:
>>>
>>> {
>>>    // E: I like cake.
>>>    // J: ケーキが好きです。
>>>    player.eatCake();
>>> }
>>>
>>> Clearly someone doesn't speak English in these massive codebases that
>>> power an
>>> industry worth 10s of billions.
>>>
>>
>> Sure, but the code itself is written using ASCII!
>>
>
> Because they had no choice.


Indeed, and believe me, the variable names can often make NO sense, or
worse, they're misunderstood and quite misleading.
Ie, you think a variable is something, but you realise it's the inverse, or
just something completely different.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130531/bf60638e/attachment.html>


More information about the Digitalmars-d mailing list