Re: case sensitivity

Alexander Schmolck <[email protected]> 01 Mar 2003 19:37:42 +0000
Newsgroups gmane.comp.lang.goo.general
Message-ID <[email protected]>
Jonathan Bachrach <[email protected]> writes:

> jm <[email protected]> writes:
> 
> > hello all,
> > 
> > is goo intentionally case insensitive? if so, why?
> 
> yes.  robustness.  useability.

Indeed.

> 
> > i can't think of any reasons for case-insensitivity but
> > i think the need to interface with c libs is a good
> > reason against it.
> 
> agreed.
> 
> > this problem popped up when swigifying the SDL
> > which has a function named SDL_Quit and an
> > enum constant named SDL_QUIT.
> > a work around in this case is simple enough,
> > but there is potential for much bigger headaches
> > with other interfaces.
> 
> i'll consider this.
> 
> anybody else have opinions on this?

How about introducing case-sensitivity but making [A-Z] special characters
that have to be escaped?  Having some syntax like '\' or '|' in CL to escape
(and thus allow) special characters in symbols would seem handy to me, for
example, goo's REPL output can currently be a bit misleading:

(list (as <sym> "a b") 'a 'b)
=> (a b a b)

> 
> jonathan
> 
> 

alex