A better assert() [was: Re: std.unittests [updated] for review]

spir denis.spir at gmail.com
Fri Feb 4 06:55:18 PST 2011


On 02/04/2011 01:16 PM, bearophile wrote:
>> Removing the two purposes (moving them to specialized and explicit features, specialized little tools)
>
> I want to stress the fact that moving those two unrelated sub-features away from assert into specialized features is not going to increase the language complexity, because those features are _already_ present and programmers need to remember them already. But currently they are hidden, half-invisible, and they interact badly with other things. So moving them into explicit little features makes the language more explicit, more readable and helps to remove warts, it doesn't make the language more complex (it may just increase front-end compiler complexity a bit).

+++

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list