Linked by John Collins on Wed 21st Apr 2004 06:42 UTC
General Development 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.
Python, OOP and Syntax vs. Semantics
by Luke McCarthy on Wed 21st Apr 2004 16:10 UTC

Python, one of the saner languages I have come across. I find I can do a lot of work in Python very quickly, although the efficiency of such results means the quality can only ever be prototype-level. For brainstorming, scripting and testing ideas, Python is unmatched. I hope that bringing Python to the .NET CLR will make it more efficient (compiled to native code at load/run time) and therefore more useful. Python has the potential for fully-blown web and GUI applications.

Personally, I hate syntax, it is a foolish distraction that brings intelligent people to a level of religious blindness. The truth is, semantics is all that is important in a language. Python takes a decent compromise of cut-down syntax, but enough to make code easier to comprehend.

OOP sucks but Python does it well ;-) It should be great for teaching OOP, I imagine.