[Home] [By Thread] [By Date] [Recent Entries]
Michael Kay wrote:
I'm no SGML historian, not even close, but most languages do not allow certain characters in their keywords and identifiers and they don't allow them to be escaped either. public class Quoted"Strange" {} could be escaped as: public class Quoted"Strange" {} or: public class Quoted\"Strange\" {} ..... Point being: having identifiers not being escapable makes sense to me. I have always found it a bit unfortunate that more and more languages allow higher characters (above the US-ASCII range) to be used in identifiers, including XML, which begs for compatibility problems (I've opened German PHP sources in a text editor which showed the names of identifiers and text crippled because PHP does not have a clear way of stating the encoding). Yet I can also understand the pints of the internationalization lobby... (using Chinese in your identifiers perhaps makes sense when you're from China, but don't expect everybody to be able to read your and understand your code) -- Abel --
|

Cart



