New library: open multi-methods

Ali Çehreli via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Jul 18 13:08:16 PDT 2017


On 07/18/2017 12:22 PM, Jean-Louis Leroy wrote:

 > Look at
 > 
https://github.com/jll63/methods.d/blob/master/examples/matrix/source/matrix.d
 > and
 > 
https://github.com/jll63/methods.d/blob/master/examples/matrix/source/densematrix.d
 > They know nothing about printing. They don't want to. The matrix modules
 > do math, the app does printing.

Related, our friend Luís Marques was the speaker in January 2016 here at 
the DLang Silicon Valley meetup. "A defense of so-called anemic domain 
models":

   https://www.meetup.com/D-Lang-Silicon-Valley/events/228027468/

I'm totally sold on the idea.

Ali



More information about the Digitalmars-d-announce mailing list