5 ms·
Ruby cares more about whitespace than Python
- icey 18y agoThe argument is pretty slim. There are almost no languages that don't care at all about whitespace inside your arguments. This guy's argument isn't much different than saying "foo" isn't the same as "f oo", therefore, the language cares about whitespace.
- stcredzero 18y agoRuby has a pretty hairy syntax whose ambiguities are resolved at what is essentially runtime in some cases. Python's syntax is cleaner, and the way it regards whitespace is better defined. I doubt there are examples of syntactic hairyness in Python as bad as what's in Ruby.