assert with format considered harmful

Seb via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 26 08:33:02 PST 2017


On Sunday, 26 February 2017 at 16:13:47 UTC, Nick Sabalausky 
(Abscissa) wrote:
> On 02/26/2017 02:17 AM, Seb wrote:
>> [...]
>
> Yea. Six years ago, assertPred was written for Phobos and 
> rejected because it was decided it was better for assert to 
> just gain that functionality built-in...which a full six years 
> later, never happened. Letting perfect be the enemy of the 
> good, at its golden finest.

Well if it makes you feel any better, I had a similar experience 
last summer:

https://github.com/dlang/phobos/pull/4323

(the same opinion prevailed)


More information about the Digitalmars-d mailing list