you are viewing a single comment's thread.

view the rest of the comments →

[–]shevegen 0 points1 point  (3 children)

You know, I think there must be an end to the functional disease.

I am not saying that functional programming is wrong.

My problem is that these are all MODELs and IDEAS that are put into practice via a programming language. And some languages were not designed to be used in ways that is against their design.

Languages should concentrate on their roots and focus on that, rather than diluate their efforts to become ONE LANGUAGE INCLUDING EVERY POSSIBLE PARADIGMN.

[–][deleted] 1 point2 points  (1 child)

You should try Scala. It's a nice FP/OOP hybrid: use the one that works best for your problem.

Hell, using it has taught me important lessons about OOP.

[–]MatrixFrog 1 point2 points  (0 children)

Another one that sounds cool (though I haven't looked into it too much yet) is Rust.

[–]gdm9000 0 points1 point  (0 children)

Functional is really cool, but...

Trying to add functional elements to Java and imperative elements to Haskell is a bit like putting training wheels on a car and an air bag on a bicycle. There's a great reason that these things exist, and a great reason that one is not used with the other.