News for hackers. Stuff that matters.
Re:Haskell language features and standard libraries in pure ... by cwhy on Wednesday September 23, 2020 @12:53AM (#24563108)
In Python people are encouraged to follow styles for code as a communication tool between developers. If you just really want your code to "look nice" you can have things like this:

  def begin(*args):
    return args[-1]

  begin(
      func := lambda x, y: begin(
          z := int(input()),
          x + y + z
      ),
      func(1, 2)
  )

from `https://news.ycombinator.com/item?id=23346534`

There are no comments on this comment yet.