Become a Patron!

My Amazon wishlist can be found here.

Life Line

Why OO sucks...

Bloat!

Shortlink

This article has a short URL available: https://drck.me/wos-37p

Comments

Fully agreed! ;)

For a hello world clearly. For bigger apps though it can make sense. Of course everything depends on the goal and the situation :)

and c sucks because you have compile your stuff for a hello world and its so much more lines of code.. and airplanes also suck because i cant park them in backyard.. ; )

make that 'my backyard' not just 'backyard. but hey. they suck anyway.. hehe

It might sound crazy, but I've always liked the old PHP4 object model - just a class and it's methods/properties. If you want something made private, just put _ in front of it. If you want it to be non extensible, just dont extend it, darnit.

I know the actual implementation is lacking, but as far as the coder is concerned, this is all you need really, IMHO.

Anyway, 100k LOC projects should not be written in PHP (or at all, for that matter ;-))

Add Comment

Name:
Email:

Will not be posted. Please leave empty instead of filling in garbage though!
Comment:

Please follow the reStructured Text format. Do not use the comment form to report issues in software, use the relevant issue tracker. I will not answer them here.


All comments are moderated