Learning Ruby: From Zero to Hero Posted by leandrotk on Tuesday September 12, 2017 @06:56PM from the medium.freecodecamp.org dept. https://medium.freecodecamp.org/learning-ruby-from-zero-to-hero-90ad4eecc82d ( 1 comment | 2 points | on HN )
I used to think that Ruby's syntax is twice as much to learn - now I think it might be even more than that.
Maybe one reason why is that Ruby's YACC file is ~918 lines long[0], while Python's grammar file is 149 lines long.
Even if 1/2 of Ruby's grammar output is whitespace, that's more than twice as much grammar to learn as Python's grammar[1].[0] https://stackoverflow.com/a/16629318/541136
[1] https://docs.python.org/3/reference/grammar.html