Structs are Not Plain: A call for empty struct constructors

Kagamin spam at here.lot
Mon Sep 23 08:26:30 UTC 2019


On Friday, 20 September 2019 at 09:05:47 UTC, FeepingCreature 
wrote:
> On Friday, 20 September 2019 at 08:24:29 UTC, Kagamin wrote:
>> When your code has a bug, a crash is the best outcome you can 
>> hope for.
>
> Not so. The best outcome, and something D often strives for, is 
> a helpful and informative compiler error.

Formal verification hopefully solves it, but it's usually 
developed as a separate tool and still requires a lot of work(?).


More information about the Digitalmars-d mailing list