Re: PHP OOP
| From: | Kyle Terry | Date: | Thu, 12 Feb 2009 16:20:02 +0000 |
| Subject: | Re: PHP OOP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288165@lists.php.net to get a copy of this message | ||
On Mon, Feb 9, 2009 at 11:12 AM, Yannick Mortier
<mvmortier@googlemail.com>wrote:
> 2009/2/9 tedd <tedd@sperling.com>:
> <snip>
>
>
> Yes C++ is not bad for this, but it has also got some flaws.
What language doesn't have flaws, dude? Out of all the OOP C++ and java are
probably the most solid. And I _hate_ java...
>
> >
> > 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
> >
>
> Both of them have got the disadvantage that they also support
> procedural programming. Some of your students will for sure not
> understand OOP immediately and they'll avoid using it this way.
>
> I guess Java is really a good idea, there are some great Editors
> around for it (Netbeans...) It's completely OOP and there are many
> great tutorials for it in the net, so a willing student can easily go
> on after the class is over.
>
> I really didn't like Java some months ago, but I have to learn it at
> school myself now and I think it's great to learn. It avoids most of
> the errors that come from C++'s pointers etc. so you can really focus
> on teaching OOP and not why you must always reserve memory etc.
>
> Later on it'll sure be easy to switch to other languages (though I
> can't really tell this because I started with C++ when I was ten years
> old and discovered PHP later and get to know Java know)
>
> So: My vote goes to Java, or if you want a decision between C++ and
> PHP it's C++.
>
>
> --
> Currently developing a browsergame...
> http://www.p-game.de
> Trade - Expand - Fight
>
> Follow me at twitter!
> http://twitter.com/moortier
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Kyle Terry | www.kyleterry.com
Help kick start VOOM (Very Open Object Model) for a library of PHP classes.
http://www.voom.me | IRC EFNet #voom