On Jan 25, 2008, at 11:24 AM, Xeno Campanoli wrote: > I may have brought this up before, a long time ago, but something I > want > is a prefix, like @ and @@, for constants that designates them as > object > or class constants respectively. That way I could make a lot of > things > constants that I am now just making variables and it would be obvious > that they are constants only available for that context. I really > don't > like the underscore perfectly, but I've thought about it and it > seems to > be the best choice of available characters. Has anybody every thought > about this (barring my possibly bringing it up two years ago), and > does > anyone else think this is a reasonable suggestion? If so, I would > think > it would be a small change that could be implemented in parallel with > existing prefix syntax handling. In ruby, constants are more like variables that yell at you. $ ruby X = 1 X = 2 p X ^D -:2: warning: already initialized constant X 2