Skip to content

Comment on Ask HN: What does a developer need to know to build their own Lisp from scratch?

Comments

Not much really; I would recommend working through SICP [0], it is fun and in the end you know a lot and can move on from there to even more advanced topics.

Together with the YouTube recordings of the lectures about the book will give you many AHA moments about why it’s so elegant etc.

Including topics like types and a prolog like logic language.

[0] https://en.m.wikipedia.org/wiki/Structure_and_Interpretation...

Calling SICP "not much" must be quite an understatement. The book is 800+ pages (PDF version from Sara Bander). If you really work through all the exercises without checking solutions online, you are probably gonna be busy for a year or so, assuming you still got other things going on in live.

But I agree with recommending it to everyone, who wants to be educated about computer programming and writing beautiful, readable and stable code, as it introduces the reader to many concepts like abstraction barriers/layers and making things more readable by splitting into well named functions and elegant solutions to problems.

Reading part of SICP (the first 40% roughly) and really working on the exercises on my own, without looking up solutions early, was a breaking point in my computer programming self-education, as I learned lots of things, that I did not learn at university, where none such high quality material was used.

I should have split up that sentence I guess. I didn’t actually mean to say sicp is quick (although I’m wouldn’t say a year if you are already a good developer); implementing a scheme is quick to learn and do, however I don’t think you will intuit the elegance from it that way. After (a portion of) sicp, you probably will.

I don't recommend anyone wanting a quick intro to scheme or lisp or even making a scheme or lisp to read SICP.

If you enjoy SICP that's great but if you don't, don't let it stop you.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.