Python and Ruby
ben+python at benfinney.id.au
Tue Feb 2 23:21:13 CET 2010
Jonathan Gardner <jgardner at jonathangardner.net> writes:
> Compare with Python's syntax.
> # The only way to assign
> a = b
> # The only way to call a function
> # The only way to access a hash or array or string or tuple
For all of your examples, there are other ways supported. I do wish this
focus on “only way” would depart, it's a fallacy and not helpful.
What is important (and supports the main point of your message) is that
for each of the above, whether or not they are the only way, they are
the one *obvious* way to do the operation.
\ “The cost of education is trivial compared to the cost of |
`\ ignorance.” —Thomas Jefferson |
More information about the Python-list