Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A “One” Line Echo Server Using “let” in Python (sigusr2.net)
5 points by inglesp on Nov 13, 2014 | hide | past | favorite | 1 comment


Great! I have never thought about using optional parameters in lambdas. A useful new technique for golfing.

I would use all() instead of the "== None" trick and __import__().

http://hastebin.com/nemiyukenu.python




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: