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.
You're referring to Python. Do you even know Python syntax or have even coded in python? Python syntax, in my opinion, is very ugly. Horrible ugly. PHP syntax is quite near C++ and Java, which makes learning them easy in the future.
Just my opinion.
I code in Python as my primary language. Having coded in all the languages you list (PHP, C++, Java), I find Python's syntax to be the best. The lack of extra control characters like braces, semicolons, and dollar signs make the code easier to type and read. I can skim other people's code without getting worked up about brace placement and whatnot since the compiler-enforces one coding style.
I find PHP, along with perl, to be one of the uglier languages, the $variable convention irks me for some reason. It does allow you to get a lot of web programming done, though, and that's why I use it.
You're referring to Python. Do you even know Python syntax or have even coded in python? Python syntax, in my opinion, is very ugly. Horrible ugly. PHP syntax is quite near C++ and Java, which makes learning them easy in the future.
Just my opinion.
I code in Python as my primary language. Having coded in all the languages you list (PHP, C++, Java), I find Python's syntax to be the best. The lack of extra control characters like braces, semicolons, and dollar signs make the code easier to type and read. I can skim other people's code without getting worked up about brace placement and whatnot since the compiler-enforces one coding style.
I find PHP, along with perl, to be one of the uglier languages, the $variable convention irks me for some reason. It does allow you to get a lot of web programming done, though, and that's why I use it.
Just a counter opinion. ;]