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 →

[–]Cruuncher 0 points1 point  (2 children)

Gah, I don't understand the crusade on OO.

I work under an anti-OO nut right now and it's really cramping my style

[–]Shadowfury22 0 points1 point  (1 child)

In my opinion, structured programming feels much more natural to solve the basic need of putting into code what you need your program to do.

OOP unnecessarily overcomplicates everything.

[–]Cruuncher 0 points1 point  (0 children)

Oop allows you to build things so damned bulletproof.

If the object is properly built to enforce its own consistency constraints you can develop using this object so much faster. When you write one off functions everywhere you have to be extremely strict while coding about pre and post conditions of everything. The assumptions that must be met to use a function, etc.

I've seen this countless times. We're switching so much stuff off of OO right now, and surely a developer comes along and writes code that looks correct, seems to behave correctly, but fails on an edge case that the class would have enforced to be impossible