Re: case sensitivity

Rob Myers <[email protected]> Sat, 1 Mar 2003 13:16:40 +0000
Newsgroups gmane.comp.lang.goo.general
Message-ID <[email protected]>
On Friday, February 28, 2003, at 11:37 PM, Jonathan Bachrach wrote:

> anybody else have opinions on this?

Can't Goo just prefix constants with $? That would solve the problem of 
C library writers using different capitalization schemes as different 
namespaces for functions and constants.

There's a related problem this doesn't fix. As examples: in the MacOS 
"Carbon" libraries, there are a couple of macros which use different 
capitalizations to denote different versions. And the old "Toolbox" 
code had different capitalizations of the same names to denote by-value 
and by-reference versions of methods that worked on structs.

This is bad practice, though, as it's confusing and introduces 
potential for errors. IMVHO, whatever  is decided, bad practice from 
thirty-year-old programming languages is a problem for wrapper 
generators rather than new programming languages.

- Rob.