[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: case sensitivity



Jonathan Bachrach <jrb@ai.mit.edu> writes:

> jm <janmar@iprimus.com.au> 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