Advertisement
Guest User

oop is a hoax

a guest
Nov 30th, 2018
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.28 KB | None | 0 0
  1. To understand Stepanov's mind, you should read "notes on programming" available (pdf) on the wikipage. The OO way of thinking is actually good for conception. But computers dont works with concepts. The information is processed proceduraly. To be economic, efficient, one must code close to how the computer works. Objects is not a concurent of procedural, it's a (heavy) superset. It has a huge memory cost, and consequently a processing cost. Compilation of OO code can never result in as clean machine code as procedural code will (given the same quality obviously). OO might help you think (and it have to be prooved: how do you think about your next day activities? Describing objects or going procedural? How calendars are made? On the behalf of what objects will compose your day, or by successives hours? Maybe you think of a meeting at 3pm from its attributes? Okay, you can, but what's the point?). Can't you see that Object Orientation is ALL based on procedural, added with conceptual rules that has no other intrinsic value than being a burden? Just like every other paradigms, for one good reason: it's the way a computer actually works. From that point of view, Object Orientation is an hoax. It's a conceptual tool with no practical interest other than giving you a ready-made organized pattern.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement