Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^4: I dislike object-oriented programming in general

by Aristotle (Chancellor)
on Oct 28, 2007 at 18:03 UTC ( #647719=note: print w/ replies, xml ) Need Help??

in reply to Re^3: I dislike object-oriented programming in general
in thread I dislike object-oriented programming in general

The presence of the explicit struct; the necessity of manual assignment of values (as opposed to implicit capture); manual management of the memory involved: none of these can make functional-style code so ugly as the mere fact that Cís syntax provides no device for writing functions anonymously and inline.

Once you combine the latter fact with the faults you mention, you inevitably run into a curious equivalence. Structs with function pointers; to functions written out of line; which accept a pointer to a user data struct: does that not sound oddly familiar? It should: there is no decidable distinction between writing OO-style C and functional-style C. Both involve the exact same mechanics of construction.

Makeshifts last the longest.

Comment on Re^4: I dislike object-oriented programming in general

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://647719]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2015-11-29 17:48 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls