DIP1000

Dukc ajieskola at gmail.com
Fri Jun 24 09:08:25 UTC 2022


On Friday, 24 June 2022 at 05:11:13 UTC, Ola Fosheim Grøstad 
wrote:
>
> No, the lifetime is the same if there is no destructor. Being 
> counter intuitive is poor usability.

It depends on whether you expect the rules to be smart or simple. 
Smart is not necessarily better, as the Unix philosophy tells 
you. I'm sure you have experience about programs that are 
unpredictable and thus frustating to use because they try to be 
too smart.




More information about the Digitalmars-d-learn mailing list