SOLID: the next step is FunctionalAnil Wadghule
schedule 2 years agoSold Out!
As Object Oriented programmers, we follow SOLID Design Principles for improving OO design of our applications.
If you take the SOLID principles to their extremes, you arrive at something that makes Functional Programming look quite attractive.
Objects are merely a poor man's closures. And ultimately Closures are a poor man's objects.
This talk explains about how applying SOLID Design principles like Single Responsibility Principle (SRP) leads to many small classes. Furthermore, if you rigorously apply the Interface Segregation Principle (ISP), you'll eventually arrive at the ultimate Role Interface: an interface with a single method.
If you apply the SRP and ISP like that, you're likely to evolve a code base with many fine-grained classes that each have a single method.
Objects are data with behaviour. Closures are too are data with behaviour.
This talk will enlighten how applying Object Oriented Design Principles to their extreme will lead you to Functional Programming.
It's necessary for Object Oriented programmer to understand why Functional programming makes sense.
At the end, this talk will also cover essential basics of Functional programming needed to be known for every Object Oriented Programmer.