|
|
|
|
|
by the_gastropod
789 days ago
|
|
> if it wasn't idiomatic Ruby It's idiomatic Ruby in a very particular case that likely was explicitly chosen to demonstrate such a dramatic effect. You're _usually_ not returning implicit arrays from loops in production code. Parallel assignments, when they're used, are almost always in the first line of an initialize method, not the returned line of an enumerable block. |
|