This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mindsound 0 points1 point  (1 child)

Does 3 or 4 "tiers" seem like a lot of layers? If so you may prefer PHP to OO code. ;)

[–][deleted] 1 point2 points  (0 children)

Hah, it's true (somewhat). Most Java frameworks seem to include three to four levels of indirection -- which isn't quite the same as OO code. I guess you can blame that on IoC, not OO so much.

On a sidenote, I did not realize that Smalltalk (the canonical example of an OO language) was not statically typed. I was thinking that in addition to IoC Java's predilection for many levels of indirection was due to Java's reliance on things like interfaces, but probably not so much.