DIP76: Autodecode Should Not Throw

Abdulhaq via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 7 05:04:53 PDT 2015


On Tuesday, 7 April 2015 at 03:17:26 UTC, Walter Bright wrote:
> http://wiki.dlang.org/DIP76

The DIP lists the benefits but does not mention any cons.

A con that I can see is that it is violating the 'fail fast' 
principle. By silently replacing data the developer will be 
presented with a probably-hard-to-debug problem later down the 
application lifecyle (probably in an unrelated area), wasting 
developer time.



More information about the Digitalmars-d mailing list