HNHacker News
TopNewBestAskShowJobs

AlainPicard

1 karma · joined July 23, 2017

submissionscomments
AlainPicard··on Lisp in Small Pieces of Clojure, part 3
I would very much NOT recommend using something like parinfer; IMO if one is learning lisp, one ought not to try to avoid the parentheses, but rather learn the advantages of using them. So instead of parinfer, use paredit and learn the key bindings for moving up/down/formard one sexpr at a time. It's frustrating at first, but after a few days, you will never want to go back to line oriented languages.
AlainPicard··on The idiot's guide to special variables and lexical closures (2003) [pdf]
For me the largest difference is that Clojure carries over all your dynamic bindings when creating new threads (via 'future') and in lazy seqs, whereas Common Lisp (typically) does not. I now understand why they choose to do it this way, but I wish the documentation was much clearer in this regards.