Tag Archives: python
List Comprehensions in Ruby
I think list comprehensions are one of the neatest features of Python. They’re extremely readable, and are pretty simple to learn. They take verbose, loop-based array handlers and compact them into one elegant line. As an example, the list comprehension … Continue reading →