Jamie Wilkinson wrote:
This one time, at band camp, O Plameras wrote:
Andre Pang wrote:
"foo" + 5
What about,
today + 1 = 14 Sept 2006 if today is 13 Sept 2006
or
time +1 = 5pm if time is 4pm
For me this is just fine. Makes coding easy and fast.
Unless you don't know that 1 unit is a day; or you wanted to add a second,
or a minute, or a year!
Are you being cynical or silly ?
We are talking 'overloading'. 'Overloading' is the interpreter's
ability to know
different meanings for the same 'term' or 'label' depending on the
context or
value of the variable. Is'nt this, also, the context of this thread,
namely, the
debate on the pitfalls and the power of 'overloading' ?
O Plameras
_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders