python vs ecmascript
kragen at canonical.org
Tue Nov 20 11:51:35 CET 2001
"Peoter Veili" <peoter_veliki at hotmail.com> writes:
I'm reasonably familiar with it.
Here are my thoughts, including summarized thoughts earlier on this thread:
HTML-page-embedded client-side scripts; it is the only language that
is a contender here.
Python's syntax is mostly nicer.
Python has a module system so you can reuse code in multiple programs
without cutting and pasting it and so you can keep your code files
small and manageable.
prototype-based inheritance like Self, but in reality, it ends up
having class-based inheritance, although of a particularly lightweight
Python doesn't have (many) implicit conversions, which means your code
gives you errors instead of giving you wrong answers with no
indication that they are wrong.
Python's are reasonable.
are the same as the attributes of an object. This sometimes has
but I haven't found them.
didn't until 2.1, and they're still turned off by default.
module system worsens this. This is an unbelievably stupid idea.
doesn't have a standard, and only sort of has multiple implementations.
More information about the Python-list