Re: Accented characters in identifiers
- Posted by Shawn Pringle <shawn.pringle at gmail.??m> May 28, 2008
- 694 views
I see two sides to this debate: One, says we should use identifiers everyone can type: That is a subset of ASCII. I don't understand how ADA programmers cope with their character set. The other says okay, lets use English identifiers in libraries and core keywords but in the programmers' code let us allow them to use his native tongue. I would like to add that sometimes routines that were intended to be internal to a program sometimes get put into a .e file. Sometimes these .e files get uploaded to the archive by some altruism of the programmmer. This would become less likely if the programmer would also have to translate their routine names. I think if we decide to include accented characters we should use Unicode 16bit format. The interpreter could branch and do the IO in a Unicode manner if it finds the byte-order word at the beginning of the file. Alternatively, we could have a browser like usage of character sets where it sets the encoding at the beginnning of the file in a comment.
#!/usr/bin/exu -- encoding: utf-8
I am not trying to be ironic or sarcastic here but I am just brainstorming what could be implemented. I say so because sometimes, I sense that I come across as sarcastic when I do not mean to. Shawn Pringle B.Sc.