3 ms·
My major pet peeve with python is that closures are not done quite right .. http://stackoverflow.com/questions/141642/what-limitations-have-closures-in-python-
by hasenj 14y ago
My major pet peeve with python is that closures are not done quite right ..
http://stackoverflow.com/questions/141642/what-limitations-have-closures-in-python-compared-to-language-x-closures http://stackoverflow.com/questions/141642/what-limitations-h...
Ruby does seem to have somewhat more powerful constructs (e.g. blocks).
One nice thing that python has (which ruby doesn't) is indentation-based syntax. With ruby you have to use "end" all the time to signify the end of a block.