Posted by Kenneth Downs on 07/25/06 17:05
intrupt000@gmail.com wrote:
> hi list,
>
> i'm trying to lose some bad programming habits and write neat
> and re-useable oo php5 code. At the moment i'm trying to write
> a highly abstracted interface to ldap (just for fun) and I am not
> sure if the way i'm proceeding is indeed the correct and sane way.
Just for the sake of adding some balance to any conversation that might
arise, many people believe that adopting too much OO is a worsening of bad
habits. It reveals itself in exactly the words you are using, "insane
abstraction".
There's a great satire (that I could not find on Google) about an
"advancing" computer programmer. As a beginner his Hello World! programs
take 2-3 lines. As he gets smarter and smarter they get larger and larger,
until it takes pages of OO-abstracted deeply nested hierarchies of objects
just to get a gol'darn Hello World! onto the page. Very sobering stuff.
--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)
[Back to original message]
|