Re:Python vs Clojure
by JshWright on Wednesday October 14, 2009 @01:43PM
(#881766)
To give an example in reply to the Clojure snippet that is now mysteriously missing from the article (to demonstrate something Python users should be jealous of)...
This is perfectly valid in Python:
users = [ # Name ID Age Phone
['John', 5, 37, '555-1234'],
['Bill', 5, 29, '555-4321'],
['Jean', 5, 32, '555-4132'],
]
Edit: Always a good idea to test even the simplest snippets before posting them...
This is perfectly valid in Python:
Edit: Always a good idea to test even the simplest snippets before posting them...