Re:Ask HN: Am I missing the Lisp magic?
by magnusjonsson on Tuesday January 01, 2013 @08:43PM
(#4994878)
Imagine unix/C without the ability to create new programming languages such as sh, python, yacc, etc. C would be all you had.
In lisp you can create sh, python, and C, and mix between them freely within a program/function/block with almost zero friction.
By having a simple universal syntax for all your sub-languages, syntax becomes a non-issue. What in unix may be separate language is just a library in lisp.
This is not a water-tight analogy but I hope it illustrates the point. If you want to really understand I recommend actually digging into a language in the lisp family such as Common Lisp, Racket or Clojure.
In lisp you can create sh, python, and C, and mix between them freely within a program/function/block with almost zero friction.
By having a simple universal syntax for all your sub-languages, syntax becomes a non-issue. What in unix may be separate language is just a library in lisp.
This is not a water-tight analogy but I hope it illustrates the point. If you want to really understand I recommend actually digging into a language in the lisp family such as Common Lisp, Racket or Clojure.