Why is this allowed

JN 666total at wp.pl
Tue Jun 30 16:41:50 UTC 2020


On Tuesday, 30 June 2020 at 16:37:12 UTC, Steven Schveighoffer 
wrote:
> That's a feature. I don't think it's going away. The problem of 
> accidental assignment is probably not very common.
>
> -Steve

What is the benefit of this feature? I feel like D has quite a 
few of such "features". I like my code to be explicit, even at a 
cost of some extra typing, rather than get bitten by some 
unexpected implicit behavior.


More information about the Digitalmars-d-learn mailing list