DIP76: Autodecode Should Not Throw

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 7 09:21:48 PDT 2015


On 4/7/2015 5:04 AM, Abdulhaq wrote:
> 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.


On the other hand, if there's any place where people demand the highest 
performance, it's string processing.


More information about the Digitalmars-d mailing list