News for hackers. Stuff that matters.
Re:Computer History Museum 2018 Fellow: Guido van Rossum by aianus on Thursday February 22, 2018 @08:16AM (#16437307)
1) Multi-line lambdas (no equivalent in python afaik):

  collection.map do |i|
    blah = something(i.something)
    blah.something_else
  end
2) Easily chainable object methods instead of weird global functions:

  a.length
  collection.map { |x| x^2 }
vs

  len(a)
  map(lambda x: x^2, collection)

3) Closing braces instead of whitespace make it a lot easier to judge indentation level
Re:Computer History Museum 2018 Fellow: Guido van Rossum by pvg on Thursday February 22, 2018 @08:28AM (#16437373)
The 'equivalent' for that sort of thing in Python these days is comprehensions. The other stuff is pretty subjective. There is a blurb in the FAQ about things like 'len' and it makes the argument it's more readable.