On Sun, Mar 02, 2014 at 11:47:38AM +0000, Steve Teale wrote: > On Sunday, 2 March 2014 at 10:05:05 UTC, Dicebot wrote: > > >There is nothing wrong about not using templates. Almost any > >compile-time design can be moved to run-time and expressed in more > >common OOP form. And using tool you have mastery of is usually > >more beneficial in practice than following the hype. > > Yes DB, we can soldier on happily, but it would not do any harm to > understand templates. > > The documentation examples quickly make your eyes glaze over, > looking at the code in Phobos is doubtless instructive, but you can > wade through a lot of that without finding what you want.
This is a pretty good primer to templates: https://semitwist.com/articles/article/view/template-primer-in-d T -- Дерево держится корнями, а человек - друзьями.