[DGD] Re: casting nil (another idea...)

Par Winzell zell at skotos.net
Tue Mar 23 20:11:10 CET 2004


> Yes, it would not look as bad. You have provided another solution that 
> serves the necessary purpose, but more importantly, it still lacks the 
> compactness and efficiency that my proposed idea would have, which is 
> the reason for which I suggested it. I'm aware that the task can be done 
> in LPC code, but I find that the casting method is brief and effective 
> and would be a trivial effort to implent. I'd like to know if there are 
> any significant fallacies behind my reasoning here.

Speaking from a purely personal sense of aesthetics, I'd dislike the 
change. I don't think nil naturally casts to zero. In fact, given my 
druthers, if (!foo) would not be true for zero foo's...

Zell
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list