Hacker News new | ask | show | jobs
by dickbasedregex 3526 days ago
Yes. Also, there absolutely are all three functions. I don't know what the hell he's on about. https://docs.python.org/2/library/functions.html
1 comments

The point he's stuck on is that the versions of 'read', 'eval', and 'print' in Python aren't the same as the ones in Lisp. In Python, you read a string, eval that string into a value, then print that value. The intermediate representation is a string -- just a bunch of characters. In Lisp, you read a data structure, eval that data structure into another data structure, then print out its form -- nested lists and atoms that you can inspect and manipulate, rather than characters that you need to parse to do anything useful with.