News for hackers. Stuff that matters.
Re:Lambdasort: Quicksort written in Python only using lambdas by xonix on Tuesday January 02, 2024 @09:02PM (#38849787)
You can also program in Python just in list comprehensions: https://maximullaris.com/abusing_python.html
Re:Lambdasort: Quicksort written in Python only using lambdas by lucasoshiro on Wednesday January 03, 2024 @05:42PM (#38860846)
Considering that list comprehensions can be replaced by maps and filters, and they can replaced by reduces, maybe we can ever go further in that craziness and do it only using reduces!