Why we will use obj$func() often

Greg Ewing greg at cosc.canterbury.ac.nz
Sun Apr 25 22:53:01 EDT 2004


Donn Cave wrote:
> I remember VMS library functions like RMS$PARSE etc.
> This basically goes along with the argument above - it's
> a single identifier, $ is not punctuation.

Also traditional Basic with A$, B$, etc. There, too, the
$ is considered part of the name -- A was a different
variable from A$, etc.

It seems to work best when the identifier is all upper
case, though. Putting $ amongst lower-case letters looks
goofier.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list