S
samir
Saluton!
Being a fond of Python, I had this idea: Why not making Python a Unix
shell?
But, after a little thinking, i found that the current syntax may be
troublesome.
For example: to list files in bash I'll do
$ ls M*
When for Python it will be:
So, why not making the use of parentheses when a function is one lined
optional to have commands like this:
or even
Then, why not making the comma optional too when executing such
instructions:
Instead of
And finally, why not making the string parameter "-less when it is the
only parameter:
Instead of
Adiaux
Samir
Being a fond of Python, I had this idea: Why not making Python a Unix
shell?
But, after a little thinking, i found that the current syntax may be
troublesome.
For example: to list files in bash I'll do
$ ls M*
When for Python it will be:
So, why not making the use of parentheses when a function is one lined
optional to have commands like this:
or even
Then, why not making the comma optional too when executing such
instructions:
Instead of
And finally, why not making the string parameter "-less when it is the
only parameter:
Instead of
Adiaux
Samir