Hello dsimcha,

Just curious, why doesn't D, and why don't more statically typed
languages in general, support overload by return type?  I haven't
exactly thought through all the pros and cons, but at first glance it
seems like an incredibly useful thing.  What's the catch that I'm
missing?



He he... well, there has certainly been some discussion about it here. ;-D

A little bit of googling:

http://www.digitalmars.com/d/archives/digitalmars/D/23835.html

It's been discussed also throughout many other posts on and off the topic.
Lots of fun... :)

-JJR


Reply via email to