3 ms·
Peter Norvig: https://www.norvig.com/python-lisp.html https://www.norvig.com/python-lisp.html - "Basically, Python can be seen as a dialect of Lisp with "tradit
by jodrellblank 2y ago
Peter Norvig: https://www.norvig.com/python-lisp.html https://www.norvig.com/python-lisp.html - "Basically, Python can be seen as a dialect of Lisp with "traditional" syntax (what Lisp people call "infix" or "m-lisp" syntax). One message on comp.lang.python said "I never understood why LISP was a good idea until I started playing with python." Python supports all of Lisp's essential features except macros, and you don't miss macros all that much because it does have eval, and operator overloading, and regular expression parsing, so some--but not all--of the use cases for macros are covered."
"Take a Lisp program, indent it properly, and delete the opening parens at the start of lines and their matching close parens, and you end up with something that looks rather like a Python program."
also Peter Norvig on HN: https://news.ycombinator.com/item?id=1803815 https://news.ycombinator.com/item?id=1803815
- sodapopcan 2y agoHa, fair enough. Thanks!