[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lies in education [was Re: The "loop and a half"]

Bill <BILL_NOSPAM at whoknows.net> writes:

> Mikhail V wrote:
>>>>> [...] I'm not here to "cast stones", I like Python. I just think
>>>>> that you shouldn't cast stones at C/C++.
>>>> Not while PHP exists.  There aren't enough stones in the world...
>>> PHP seems (seemed?) popular for laying out web pages.  Are their vastly
>>> superior options?
>> Python? Superior syntax for sure
> I believe that.  What accounts for the popularity of PHP then?

Two things, probably.  First, it was almost always pre-installed even on
low-cost hosting.  Second, you could start very simply because it was
designed to be used embedded.  Tiny little bits of code could so
something -- not need for a "framework".

Other languages were not always installed (I'm sure it's better these
days) and those that were (Perl almost always was) could not, by
default, be used embedded -- you had to generate the whole page.

What is (or are) the Python way (or ways) to do it?