←back to thread

460 points pieterr | 1 comments | | HN request time: 0.305s | source
Show context
alabhyajindal ◴[] No.42158703[source]
I really wanted to like SICP but Lisp throws me off. I love Haskell and Standard ML however! Did others have a similar experience? Might be interesting to read a book similar in spirit to SICP but using a different language as a vehicle (No, I don't want to do SICP in JavaScript).
replies(10): >>42158751 #>>42158826 #>>42159255 #>>42159370 #>>42160603 #>>42160635 #>>42160830 #>>42161196 #>>42162892 #>>42165123 #
kccqzy ◴[] No.42160830[source]
I don't understand why Lisp throws you off. I only read SICP after I became proficient in Haskell and it is just fine.
replies(1): >>42164329 #
alabhyajindal ◴[] No.42164329[source]
I'm not comfortable writing S-expressions. It feels very weird to me. I understand this is not a major issue. I'm hoping I stick with the book the next time I pick it up!
replies(1): >>42165698 #
1. kccqzy ◴[] No.42165698[source]
You should try out structured editing. For example paredit in emacs. And you really only need to understand slurp and barf. It really makes writing S-expressions no longer a chore. No more need to manually count parentheses. The parentheses are balanced by construction.