Bernd Eggink a écrit :
> To avoid misunderstandings, let me add that you are right (only) with
> respect to variables being used _without_ declaration.
OK, but not having to explicitly "declare" variables is a feature that
most people expect from dynamic languages, so you can hardly blame them
for doing this all the time in shell.
IMHO Python gets this global/local (implicit) declaration story
right. Of course it is easier when you do not have 30 years of POSIX
legacy to support (but just the experience).
<http://docs.python.org/tutorial/controlflow.html#defining-functions>