Python advocacy in scientific computation

Michael Tobis mtobis at gmail.com
Tue Mar 7 11:57:17 EST 2006


> Indentation
> makes all kinds of inlined code extremely clumsy or practically impossible
> in Python.

This is the only sensible argument against the indentation thing I've
heard. Python squirms about being inlined in a presentation template.
Making a direct competitor to PHP in pure Python is problematic.

While there are workarounds which are not hard to envision, it seems
like the right answer is not to inline small fragments of Python code
in HTML, which is probably the wrong approach for any serious work
anyway. This problem does, however, seem to interfere with adoption by
beginning web programmers, who may conceivably end up in PHP or perhaps
Perl Mason out of an ill-considered expedience.

Why this should matter in this discussion, about scientific
programming, escapes me though.

When you say "all kinds" of inlined code, do you have any other
examples besides HTML?

mt




More information about the Python-list mailing list