3 ms·
Useful background: http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction http://www.artima.co
by akkartik 15y ago
Useful background: http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction
http://www.artima.com/articles/dci_vision.html http://www.artima.com/articles/dci_vision.html
It also reminds me of http://en.wikipedia.org/wiki/Class-responsibility-collaboration_card http://en.wikipedia.org/wiki/Class-responsibility-collaborat...
- draegtun 15y agoThus far I've found this the easiest article to grok DCI: https://metacpan.org/module/DCI https://metacpan.org/module/DCI
- akkartik 15y agoI had only heard of such clean perl. Thanks! From these examples DCI seems a lot like lisp's generic functions..
- draegtun 15y agore: clean perl and generic functions - have a look at Moose. Its Perl's equivalent of CLOS. * http://moose.perl.org http://moose.perl.org * https://metacpan.org/module/Moose https://metacpan.org/module/Moose * https://metacpan.org/module/Class::MOP https://metacpan.org/module/Class::MOP * BankAccount example (Practical Common Lisp) - https://metacpan.org/module/Moose::Cookbook::Basics::Recipe2 https://metacpan.org/module/Moose::Cookbook::Basics::Recipe2