AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Why Polymorphism Matters
I think what it ultimately comes down to is how do you partition your program into concepts? And if we think of a function as a concept, then it's easier for the programmer to understand ideally. But there's testability, there's reusability, if you've come up with a good concept and functional programming is kind of a uniform. Well, all the things that get rid of looping constructs. Those are, those are concepts. That hopefully will just say, oh, well, I have the same concept,. And it makes sense to apply it to multiple types.