View mode: basic / threaded / horizontal-split · Log in · Help
February 20, 2005
Re: toString in Object
On Sun, 20 Feb 2005 22:49:14 +0100, xs0 <> wrote:
>> It's a pity we can't overload on return type. Or can we.. if we force  
>> the  programmer to be explicit about it? It would require return type  
>> to be  considered in the name resolution system.. perhaps it's too big  
>> a change?
> If the programmer needs to be explicit about it, isn't it just the same  
> if you use two method names? :)

Sure, as was shown in my examples.
However it might be possible to require it only when it's indeterminate.

February 22, 2005
Re: toString in Object
Sorry, I'm just used to forums where posting a thread without looking for 
similar threads that have been posted before is nearly a sin.. It's just 
that this is not the first time that this has happened to me.  How about my 
module problems thread a few weeks ago?  The only people who replied were 
two guys having a pretty much OT conversation in the thread, and Walter 
asking me to clarify something, without actually acknowledging the rest of 
my post.  Then, a week or so later, I saw a few threads that talked about 
very similar things, and they sparked long, serious discussions.
Next ›   Last »
1 2 3 4
Top | Discussion index | About this forum | D home