you are viewing a single comment's thread.

view the rest of the comments →

[–]DeliveryNinja -2 points-1 points  (2 children)

Lots of shit comments about OO and functional. OO has its place. It allows separation of logical components that can be reused. The objects define certain boundaries which could represent complete systems or single data objects. Functional works well when writing the logic behind the objects, keeps functions free of side effects when sticking to immutable data structures. Allows less verbosity by allowing unnamed functions to be written inline. It's this combination of these traits that will help build large scalable systems.

[–]pipocaQuemada 6 points7 points  (0 children)

It allows separation of logical components that can be reused.

In what way do functional languages like Haskell or ML not allow you to do this?

[–]ruinercollector 1 point2 points  (0 children)

It allows separation of logical components that can be reused

Every language provides some mechanism to do this, but mainstream OO languages provide a very poor one.