[889] in Coldmud discussion meeting

root meeting help first previous next last

a thought about the new, improved + operator...

daemon@ATHENA.MIT.EDU (Tue Jan 9 19:08:57 1996 )

Date: Tue, 9 Jan 1996 17:40:25 -0600 (CST)
From: Kor <qor@io.com>
To: coldstuff@tombstone.sunrem.com
In-Reply-To: <199601092303.QAA00259@lotus.nmt.edu>
Reply-To: coldstuff@tombstone.sunrem.com

Robert Lumley and I were talking, recently, about the snifty new addition
of automatic conversion to string via the '+' operator.  we were thinking
that there is a potential danger in hiding the means of conversion from the
programmer, so we were wondering about the possibility of operator
overloading...  the same task could be accomplished without hiding the
means of operation, and it could also be broadly applied other ways.  I'd
also rather like it if new operators could be defined.  it could make for
some very nice looking, clean code.

one problem I see is that this could make for some really strange oddments
that would be made up to look like something else, even though they parsed
out in coldc via overloaded operators.

anyhow, comments?


qor@io.com				Love is Hyperopic.