Re:Avoid Else, Return Early (2013)
by Noumenon72 on Monday March 26, 2018 @10:48PM
(#16684777)
Basically instead of Subtype extends Type inheritance, you just give your Type class a SubtypeHolder field. Makes it easier to add different behavior as things' types become less similar than you expected.
[ Parent
| on HN ]
There are no comments on this comment yet.