News for hackers. Stuff that matters.
Re:WTFPython: Exploring and understanding Python through sur... by plumeria on Tuesday May 31, 2022 @01:39AM (#31566426)
The let expression syntax in OCaml is a nice alternative:

  let some_func () = 5
  
  let a = some_func () in if a < 5 then "<5" else ">=5"

There are no comments on this comment yet.