Exerpt from Functional Design.
On Object Orientation.
At this point I fear that there may be some functional aficionados, and some Clojure compatriots, who are just about to boil over with complaints about how I’m turning their favorite paradigm or language into OO.
“You’re turning back the clock, Uncle Bob! You’ve resurrected the dead hand of the past! You are infecting the functional paradigm with OO POISON! This is Functional Programming Uncle Bob, and we don’t need all these interfaces and subtypes and (egad!) Design Patterns. All we need are FUNCTIONS!”
My goal, and my hope, is that the pages that follow will act to moderate such opinions and convince you, my gentle reader, that OOP and FP are compatible, and indeed, mutually beneficial styles.
At this point I fear that there may be some functional aficionados, and some Clojure compatriots, who are just about to boil over with complaints about how I’m turning their favorite paradigm or language into OO.
“You’re turning back the clock, Uncle Bob! You’ve resurrected the dead hand of the past! You are infecting the functional paradigm with OO POISON! This is Functional Programming Uncle Bob, and we don’t need all these interfaces and subtypes and (egad!) Design Patterns. All we need are FUNCTIONS!”
My goal, and my hope, is that the pages that follow will act to moderate such opinions and convince you, my gentle reader, that OOP and FP are compatible, and indeed, mutually beneficial styles.