logoalt Hacker News

mark_l_watsonyesterday at 12:58 PM2 repliesview on HN

Apologies for being off topic, but after reading the implementation code, I was amazed at how short it is!

I have never been a huge fan of Python (Lisp person) but I really appreciate how concise Python can be, and the dynamic nature of Python allows the nice query syntax.


Replies

gabrielsrokayesterday at 2:22 PM

> Python can be seen as a dialect of Lisp

- Peter Norvig

https://www.norvig.com/python-lisp.html

show 1 reply
pamayesterday at 6:56 PM

Agreed on conciseness of the implementation. It is short and clear despite having a Max and Min that share all except one character in 30 lines of code.