News for hackers. Stuff that matters.
Re:I've never seen a language's style guide recommend avoidi... by collyw on Wednesday July 23, 2014 @05:40AM (#8073506)
I disagree with that sentiment.

Using Python or Perl it is easy to go from a for loop to a map or list comprehension. For many less experienced programmers it will make it less readable and more difficult to comprehend. Using a more functional approach will usually lead to less side effects and silly bugs, so I prefer to code this way, and add a comment to explain what the line is doing if it is not obvious.

There are no comments on this comment yet.