Sealed classes - would you want them in D?

rumbu rumbu at rumbu.ro
Sat May 12 09:28:23 UTC 2018


On Saturday, 12 May 2018 at 07:07:33 UTC, Jonathan M Davis wrote:

> You obviously don't have to test your private functions if you 
> don't want to, but if you're trying to state that testing 
> private functions is bad practice (and that's very much what it 
> seemed like you were saying when you talked about testing 
> private functions killing unicorns), [...]

Actually Jim Weirich (Rake's creator) at one of Ruby's 
conferences had a coffee mug with "Every time you test a private 
method, an unicorn dies".




More information about the Digitalmars-d mailing list