This is a multi-part series on Refactoring to Functional Programming
In College
Teacher: We are surrounded by objects in the real world. These can be cars, houses, etc. That’s why it’s very easy to associate real world objects with classes in Object Oriented Programming.
2 weeks later
Jake: I’m having a bit of hard time with these objects. Can you give me some guidance?
Teacher: Sure. There’s actually a couple of more or less formal processes to help you, but to sum it up, look for nouns. And verbs are like methods that can be performed on the class. The behavior so to speak.
Jake: Well that seems reasonable. Thanks!
Jake graduates.
Jake’s on the job
Phil: Hey Jake. I’ve been looking at this class of yours. It’s a little bit too big.
Jake:…
View original post 583 more words