3 ms·
If you trying to write FP in Python - you're in trouble. (Python is my main language for several years) It does not have "mandatory OOP" but it remains as main
by Ingaz 14y ago
If you trying to write FP in Python - you're in trouble.
(Python is my main language for several years)
It does not have "mandatory OOP" but it remains as mainly imperative OO-language with some FP-goodness. C# is the same, Java - not.
- it 14y agoIf you try to do your entire program as pure FP then I guess that is true, but it's often possible and beneficial to do a lot of the work in a functional style. Honestly though, this misses the point. If your language forces you to use an unsuitable paradigm, it's time to use another language if you can.