Overload by return type

John Reimer terminal.node at gmail.com
Tue Jan 13 21:55:49 PST 2009


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





More information about the Digitalmars-d mailing list