RE: [PHP] Classes - Dumb question
| From: | Jay Blanchard | Date: | Fri, 12 Oct 2007 14:30:42 +0000 |
| Subject: | RE: [PHP] Classes - Dumb question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263152@lists.php.net to get a copy of this message | ||
[snip]
> First of all what you call "normal" is procedural or functional
> programming. There is nothing wrong with doing things this way and may
be
> especially quick and efficient when doing basic web sites and
applications.
> Document well and you will have no problem maintaining your code.
One correction. What is being described is procedural or imperative
programming. Functional programming is another beast entirely
(closures,
first-class functions, immutable variables, etc.). PHP is not a
functional
language by any stretch of the imagination. For functional programming,
see
Erlang, Haskel, ML, LISP, and to a lesser extent Javascript.
[/snip]
Thanks for the correction Larry, I knew the difference and just brain
farted.