>From: Ed Carp <erc@stripped>
> There's a saying in certain programming circles that people who don't know
> how to program choose PERL or PHP, people who do choose C or C++, and I
> think there's a certain amount of truth in that. Why is MySQL qritten in
> C, rather than in PERL? It would've certainly been easier. Why is most
> system software written in C? Why is it that most every modern operating
> system is written in C or C++?
The answer to all your questions is simple; because they all need the
possible speed. But why are none of them written in pure assembly? That
be even faster!? For the same reason, as one might very well want to prefer
PHP3 or the alike over C/C++; it's much _faster_ to develop simplish
that are not that performance critical, just like most basic
(a database and an os on the contrary are certainly performance-critical,
can hence not be successfully developed with a scripting-language).
Performance divided by developing time could be seen as a constant. If one
increases the other one does so too, and vice versa (and please don't get
mathematical about this, you get the point).
Personally I don't think we need to involve any kind of classifying of
programming talents in this matter.
In my opinion one problem with PHP is, that it tempts you to mix your code
with the layout/design, which is generally not a good thing. But this is of
entirely up to the programmer. Otherwise PHP has proven to be a very
way to develop web-based applications. Oh, yeah, this list is indeed
to MySQL, not PHP..