Linked by John Collins on Wed 21st Apr 2004 06:42 UTC
The purpose of this article is to give a novice programmer the basic idea of what OOP is, as implemented using PHP. Readers should have a basic knowledge of programming ie what variables are, variable types, basic methods of writing comments, and how to enter code into a text editor.
Permalink for comment
To read all comments associated with this story, please click here.
I think we could spend all day arguing about what language would be best to teach OOP, but then we'd be missing the author's intent. I was taught OOP @ University using Java as well, but never could quite grasp the general model of OOP. I think this article does a pretty good job of demonstrating OOP basics, even if some mistakes were made in the exact implmentation/demonstration of it.
A java tutorial might have been best, at least then visibility modifiers would have been included for variables, but as a PHP developer as well, I can certainly see the "Simplicity" benefits of using PHP.
I think we could spend all day arguing about what language would be best to teach OOP, but then we'd be missing the author's intent. I was taught OOP @ University using Java as well, but never could quite grasp the general model of OOP. I think this article does a pretty good job of demonstrating OOP basics, even if some mistakes were made in the exact implmentation/demonstration of it.
A java tutorial might have been best, at least then visibility modifiers would have been included for variables, but as a PHP developer as well, I can certainly see the "Simplicity" benefits of using PHP.