[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setter problem
- To: Andrew LM Shalit <alms@CAMBRIDGE.APPLE.COM>
- Subject: Re: setter problem
- From: Scott_Fahlman@SEF-PMAX.SLISP.CS.CMU.EDU
- Date: Mon, 26 Oct 92 22:57:28 EST
- Cc: info-dylan@CAMBRIDGE.APPLE.COM
- In-reply-to: Your message of Mon, 26 Oct 92 16:16:09 -0500. <9210262110.AA06925@cambridge.apple.com>
We're considering changing setter syntax so that it doesn't look so
much like an operation. Your mistake probably wouldn't have come up
if (setter a) were spelled set-a.
I think some such change really must be made, even at the cost of
taking away a chunk of the space of possible symbols. The current setter
syntax is by far the ugliest wart in the language.
If we must reserve part of the name space for setter functions, it should
be some part that people won't stumble over accidentally. I'd prefer that
(setter a) turn into a-setter or setter-a, since "set" would naturally be
used as a variable name for some mathematical set. If we must choose, it's
probably better to trip up the dog lovers than the mathematicians.
-- Scott
===========================================================================
Scott E. Fahlman Internet: sef+@cs.cmu.edu
Senior Research Scientist Phone: 412 268-2575
School of Computer Science Fax: 412 681-5739
Carnegie Mellon University Latitude: 40:26:33 N
5000 Forbes Avenue Longitude: 79:56:48 W
Pittsburgh, PA 15213