News for hackers. Stuff that matters.
Re:Brilliant or insane code? by catwell on Monday September 02, 2013 @06:23AM (#6314438)
The fact that this idiom is documented in the official Python documentation makes me cringe, knowing that this code is not what I would call explicit.

This is one of those cases where Ruby does it better (s.each_slice(3).to_a).

There are no comments on this comment yet.