OO Programming - get practical
| From: | Paul Dionne | Date: | Tue, 23 Jul 2002 07:18:27 +0000 |
| Subject: | OO Programming - get practical | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109053@lists.php.net to get a copy of this message | ||
Hey all,
I want to point something out to aspiring authors. The truth is, that few
books and web pages out there show examples using OO methods. For example,
the book I use as my primary reference has one chapter on OO PHP and that
is it. The rest of the examples in the book are in regular functions. And
the one example they give is used to create a web page, with the Title ,
KeyWords, Styles, Header, Menu... as the objects.
So, I guess my point is that if people want to encourage use of OO
programming, they need to use more examples in their books instead of what
is "easy." Otherwise, if the reader doesn't "get" the one example, they
don't have other examples to try. Furthermore, one cannot encourage people
to think about how they can program using OO methods if they don't use such
methods in their teaching of the subject matter.
My 2 cents.
Paul