MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/194l12/ruby_200/c8kwbdo/?context=3
r/programming • u/HornedKavu • Feb 24 '13
193 comments sorted by
View all comments
2
The keyword arguments and perf improvements are awesome, but I really like the little things, like %i{a b c} for [ :a, :b, :c ], and .lines returning an array while .each_line still returns an enumerator, etc.
%i{a b c}
[ :a, :b, :c ]
.lines
.each_line
2
u/zeekar Feb 24 '13
The keyword arguments and perf improvements are awesome, but I really like the little things, like
%i{a b c}for[ :a, :b, :c ], and.linesreturning an array while.each_linestill returns an enumerator, etc.