February 04, 2003 Re: Bug: Package names cannot start with digit. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | Sean L. Palmer wrote:
> "Daniel Yokomiso" <daniel_yokomiso@yahoo.com.br> wrote in message
> news:b1kf9f$1k2l$1@digitaldaemon.com...
>
>>I'm brazilian and lot's of programmers around here aren't fluent in
>
> english.
>
>>Usually people use plain ascii without any kind of special characters
>
> (even
>
>>in Java), but with portuguese identifiers. Most of our accents (e.g. ~ `
>
> ´)
>
>>and the "ç" letter are just avoided. So instead of "exceção" (I don't know
>>if it'll be displayed correctly) is written "excecao" and people don't
>>complain ;-)
>
>
> Well, wouldn't it be nice if you could just program with Portuguese
> identifiers? Sure, you'd have to learn the English D keywords (or use a
> preprocessor to translate those too)
>
> I would estimate that at least 50% of all the programs that are made are
> never seen by anyone but their maker. Little test apps and such.
>
> If you don't like accented characters, you could always have a policy
> against using them. I think it's a nice option though for
> non-native-English-speakers, and as a nice aside it gets the Unicode ball
> rolling. ;)
>
> Sean
Unicode itentifiers and translated keywords sound like another thing IDEs could do easily.
I'm getting more and more enthralled with the idea of IDEs that do more than just colorize your code, or finish an identifier name...IDEs that really change the presentation of the code at a more fundamental level.
Frankly, a lot of the features we've suggested at various times (operator overloading, inline function call syntax, even templates) could be done by the IDE acting as a preprocessor.
|
February 05, 2003 Re: Bug: Package names cannot start with digit. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | In article <b1nsls$1186$1@digitaldaemon.com>, Sean L. Palmer says... > >"Daniel Yokomiso" <daniel_yokomiso@yahoo.com.br> wrote in message news:b1kf9f$1k2l$1@digitaldaemon.com... >> I'm brazilian and lot's of programmers around here aren't fluent in >english. >> Usually people use plain ascii without any kind of special characters >(even >> in Java), but with portuguese identifiers. Most of our accents (e.g. ~ ` >´) >> and the "ç" letter are just avoided. So instead of "exceção" (I don't know if it'll be displayed correctly) is written "excecao" and people don't complain ;-) > >Well, wouldn't it be nice if you could just program with Portuguese identifiers? Sure, you'd have to learn the English D keywords (or use a preprocessor to translate those too) > >I would estimate that at least 50% of all the programs that are made are never seen by anyone but their maker. Little test apps and such. > >If you don't like accented characters, you could always have a policy against using them. I think it's a nice option though for non-native-English-speakers, and as a nice aside it gets the Unicode ball rolling. ;) > >Sean > Actually I wouldn't like it. Most of the libraries I use are written in english (maybe all of them, but now I don't want to review it ;-) ). It's very weird to write: "File algumArquivo = new File('temp.txt');" instead of "File someFile = new File('temp.txt');". It's not only the keywords, but every library you use. If you stick to english the context changes will be less frequent. But YMMV. |
February 05, 2003 Re: Bug: Package names cannot start with digit. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Yokomiso | "Daniel Yokomiso" <Daniel_member@pathlink.com> escribió en el mensaje news:b1pohj$2789$1@digitaldaemon.com... | Actually I wouldn't like it. Most of the libraries I use are written in english | (maybe all of them, but now I don't want to review it ;-) ). It's very weird to | write: "File algumArquivo = new File('temp.txt');" instead of "File someFile = | new File('temp.txt');". It's not only the keywords, but every library you use. | If you stick to english the context changes will be less frequent. But YMMV. | | I don't find it weird at all. As long as I can, I write all my code in Spanish. What you said is very relative... ————————————————————————— Carlos Santander --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 2003-01-27 |
Copyright © 1999-2021 by the D Language Foundation