See? Lispers sneaked in, distracted everyone with all these lambdas and closures and put their brackets all over the place.
Re:An Intuition for Lisp Syntax
by fishmaster on Friday May 28, 2021 @06:43AM
(#27313796)
Open and shut case, Johnson!
The following are all valid too:
[]{}
[]{}()
[](){}()Doesn’t look weird to me, that’s just an empty lambda. Pretty recognizable for anybody who works with lambdas, IMO - it’s just an empty capture with no parameters and no body. Not something you would ever see in real code unless doing something very weird.
Lisp's S-expressions are just acquired taste (like coffee of a particular blend).