oop - What are the disadvantages/flaws/faults of Object Orientation in general? -


object orientation dominant programming paradigm today. people say, there disadvantages, flaws or faults paradigm. consider complete failure. concrete reasons/arguments that?

what found biggest flaw of oop prominent frameworks/methods encourage writing not object-oriented code. if developing service , dao layer no state @ (just business methods passing arguments layer layer) , have domain model no logic @ (just bunch of fields , maybe getters/setters/properties), no longer oop. of enterprise projects, considered written, aren't object oriented. have collection of functions grouped in logical namespaces (called classes) , collection of data structures, having private fields annoy programmers (called domain). domain not have operations.

imho oop model sacrificed in enterprise applications because not handle concurrency (or maybe because people prefer have stable set of objects rather creating new instance per request ?!?). reason why functional languages (and immutable objects degree) getting more attention.

on other hand, immutable objects in spirit of oop? not sure.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -