[Ilugc] beginner in python needing help
rajasuperman at gmail.com
Thu Dec 25 23:15:31 IST 2008
On Thu, Dec 25, 2008 at 5:01 PM, Kenneth Gonsalves
<lawgon at thenilgiris.com> wrote:
> One example is that one can embed php code in a html page which can directly
> access a database/filesystem and nuke it. You cannot do that in python.
Yes you can. See of PSP (python server pages) section of mod_python:
So does this make python a bad language?
When comparing languages, it's best to keep out differences in their libraries
and focus on core language features.
My personal gripe with PHP is that support for namespaces was added very late.
This defect has probably lead to the ugly function names you find all over
PHP -- timezone_transitions_get(), xml_set_processing_instruction_handler().
Just look at the length and style inconsistencies in those function names:
Other languages -- python, perl, ruby, tcl, etc -- all implemented namespaces
and encouraged programmers to use it. Namespaces are a good thing.
More information about the ilugc