Re:Why you should learn F#
by rjblackman on Tuesday December 18, 2018 @09:25PM
(#18712521)
I haven't read the article in depth, but the authors example is written according to SOLID principles where composition is decoupled via interfaces and dependency injection. I think the author is trying to show the difference between highly decoupled code examples in c# and f#. In f# you compose with functions, in c# you compose with object instances.
[ Parent
| on HN ]
There are no comments on this comment yet.