|
Posted by Peter Fox on 07/19/05 21:28
Following on from dracolytch's message. . .
>Easy, I've done physics simulations, game design, evolutionary
>computation, artificial intelligences, written compilers, and created
>web-based applications. It is easy for a web-based application to get
>~large~, but it's rare that they ever get terribly ~complicated~.
Twaddle.
Your world view is obviously very narrow.
Of course the WWW is not stateless!
An object is just a tool - Want to make a hole, pick up a drill. Want
to put a screw in it - pick up a screwdriver. You might carry a
screwdriver around in your toolbox for a week then only use if for a
minute. You can hand your screwdriver to a mate to use without having
to give them an instruction manual and if you have a particular task you
can get a particular screwdriver to fit - you know almost instantly when
looking in the shop what screwdriver will have the right characteristics
because you _understand how to use it_.
The OO paradigm allows reliable tools to be developed and then applied
quickly. And reapplied quickly. And revised quickly.
To me the classic PHP application of OO which refutes all your original
statements is generating and sending emails. It is complicated (lots of
RFCs) and it is a transient object created for building purposes only
then destroyed after use. I haven't done emailing for six months but in
1 minute I can be up to speed and in another decided if I should use it
as-is or add special functionality, and if so where in the class tree
would be a good place to add it.
I've wrapped the database I use all the time in an object. If somebody
insists on using another then I can accommodate that quickly and
reliably. It also means I can enrich the functionality to suit - for
example to optimise certain functions.
So to conclude. It is about the efficient application brain cells not
bits. The internet only works because the interfaces between the many
many bits are clear. It _is_ hugely complicated.
Who cares if you destroy an object just moments after creating it? It
is about building intelligence (your intelligence) into system
components and developing those designs in the light of experience. All
product lines are continuously being modified and computer systems are
no different. All my customers benefit from the work done on all the
other's.
(I think you may be assuming 'complexity' means 'processor-intensive
algorithms'.)
--
PETER FOX Not the same since the bridge building business collapsed
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Navigation:
[Reply to this message]
|