interfaces and contracts - new pattern

Adam D. Ruppe destructionator at
Mon Dec 2 20:30:49 UTC 2019

In short use `in(false)` when you `override` a function to 
inherit the contract, unless you explicitly want to expand the 
input - which you shouldn't do when implementing an interface!

Wrote about it in more details here:

i think this is a pretty cool little discovery, thanks too for 
the folks on irc for chatting it through.

destroy if i missed anything lol

More information about the Digitalmars-d-announce mailing list