Functional programming vs Class based programming. Which do you prefer and why?

Binay Singh
4 replies
I have been doing functional programming for quite a few years now. Recently I have been trying my hands on class-based programming and I am pretty much liking it. What's your take?

Replies

Shubham khapra
I prefer functional programming easy to use and easy to understand. But class-based is used for cleaning up code outside the person not accessing the members of the class.