3 ms·
besides, that shows me how well readable lisp code is. even better than python.
by raocah 10y ago
besides, that shows me how well readable lisp code is. even better than python.
- pjmlp 10y agoAnd it AOT compiles to native code when needed.
- lerax 10y agoYes. I was wondering about that after I wrote the two client versions! Lisp is really easy to read. I not write yet the docstrings, but still is easy to understand. As much as I enjoy reading code in Python, Lisp is also in my heart.
- m-j-fox 10y agoAgreed. Except format strings and stream formatting and printing options get confusing quickly.
- fiddlerwoaroof 10y agoYou can use a library like https://github.com/fiddlerwoaroof/format-string-builder https://github.com/fiddlerwoaroof/format-string-builder to make formatted output more readable. But, in general, format strings are like regular expressions: at first they look like alien technology and then, after using them a while, they become quite legible.
- pekk 10y agoIf you are more proficient in Lisp than Python, your Lisp will be more readable than your Python.
- jaddood 10y agoLISP has no syntactic sugar. It only shows you the important parts, and it does so purely: it shows them just as they are.
- aidenn0 10y agoLisp not only has syntactic sugar (quote, backquote, all the sharpsign[1] macros), it is possible to add your own syntactic sugar (e.g. [2]) 1: http://www.lispworks.com/documentation/HyperSpec/Body/02_dh.htm http://www.lispworks.com/documentation/HyperSpec/Body/02_dh.... 2: http://weitz.de/cl-interpol/ http://weitz.de/cl-interpol/
- deleted 10y ago[deleted]
- CCing 10y agoWhat ? maybe I'm stupid, but to me the python version seems a a lot more readable. It's only me ? (maybe because I don't know lisp, but neither python, so should be the same)
- raocah 10y agoWhat programming languages do you know? If you know one or some algol-like one their syntax is very similar to each other and very different from lisp-like langs.