Re: PHP OOP

From: Date: Tue, 10 Feb 2009 12:13:06 +0000
Subject: Re: PHP OOP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-288057@lists.php.net to get a copy of this message
I don't think that PHP is good language for teaching OOP as many folks above said. I have never programmed in OOP style but i plan to learn it. I started in PHP but i was little confused and i am used to program in procedural way in PHP, so i've decided to learn some pure OOP language. I am reading a book OOP Demystified, there are examples in both C++ and Java. And imo Java code is much more readable and understandable. So i think that Java is the best for learning OOP. I am also considering learning C#, if you dont mind that it's closely related to windows, it might be also a good choice. -- "tedd" <tedd@sperling.com> píse v diskusním príspevku news:p0624080dc5b5fff1ccaa@[192.168.1.101]... > Hi gang: > > At the college where I teach, they are considering teaching OOP, but they > don't want to settle on a specific language. > > My thoughts are it's difficult to teach OOP without a language -- > while the general concepts of OOP are interesting, people need to see how > concepts are applied to understand how they work -- thus I think a > specific language is required > > I lean toward C++ because I wrote in it for a few years AND C++ appears to > be the most common, widespread, and popular OOP language. > > However, while I don't know PHP OOP, I am open to considering it because > of the proliferation of web based applications. My personal opinion is > that's where all programming is headed anyway, but that's just my opinion. > > With that said, what's the differences and advantages/disadvantages > between C++ and PHP OOP? > > Cheers, > > tedd > > > -- > ------- > http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#288057) next »