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](https://ph-avatars.imgix.net/4727550/14f0691c-b84c-49de-9b89-5250c865c706.jpeg?auto=compress&codec=mozjpeg&cs=strip&auto=format&w=36&h=36&fit=crop)
Shubham khapra@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.
Share