View Single Post
Old 06-11-2004, 12:03 PM  
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
C or C++ can do many things that PHP can't
(for example, PHP is written in C), and C or C++ apps will
generally run a shitload faster using the same algorithm,
this is true. However, I think that's a tiny percentage
of the reason most C apps are a shitload better than most PHP apps.

PHP was designed to make easy things easy - very, very easy.
Building a program with PHP is as easy as building a
toy with Legos. Well, at least it's a good comparison
to say that Legos are to welding what PHP is to C.
Highly skilled professionals don't often use Legos, children do.
Same thing with PHP - being super easy to use makes
it attractive to middle school geeks, but means that
"hard" concepts like "integer variables" are leeft out
of the language. These "hard concepts" are what the pros
consider to be the basic tools of their trade.
Also, PHP, like Lego, make it really easy to build crap,
shit that doesn't hold together, and very, very difficult to
build a quality product.
Specifically, after 7 years in this business I'm still looking
for a PHP script that doesn't have a serious security issue.
I'm sure I'll find one someday.

The guys who code C tend to be the same guys whose
bathroom books include 800 page tomes on such computer
science topics as relational calculus (like me).

So I'd say while there are inherent differences in
the languages, it's the programmers that they attract which
makes a much bigger difference.
Perl and VB are both in the middle, and spread thinly.
With the "strict" pragma in force and using good OO design
principles Perl (and VB) can be professional languages
that a software engineer can be comfortable with.
On the other hand both can also be used sloppily.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote