omidmnzadeh
Re:Ask HN: What is the most beautiful piece of code you've ever read?
on Monday October 28, 2019 @08:10AM (#21376149)
The problem with this piece of code is not that it doesn't do it in-place. The problem is, if the input list is (almost) constant, then this code will (almost) certainly take quadratic time to sort it, even if it is shuffled before being fed to this function.
However, I get what you mean. It really is beautiful!
EDIT: grammar.
Re:Ask HN: What are your heuristics for deciding which HN links to cli...
on Saturday July 14, 2018 @06:46AM (#17529768)
Ask HN? Just click! I have almost always found some good advice in these threads.
Re:What I would do differently if I was learning to program again
on Monday July 09, 2018 @09:19AM (#17489943)
"Vim"? No. I don't use it anymore. The "Vim's Way"? I use it everyday!
Re:What I would do differently if I was learning to program again
on Monday July 09, 2018 @09:14AM (#17489922)
I've used several IDEs before. I used one when Eclipse was the go-to option. Then all the attention went to IntelliJ. But none of them gave me what my Emacs+Evil setup gave me, while the Emacs side got "almost" everything they gave me.
Re:What I would do differently if I was learning to program again
on Monday July 09, 2018 @09:08AM (#17489887)
It's been a long time I haven't used Vim. I left it in favor of Evil+Emacs a few years ago. And I don't recommend it to every single person I see.
The phrase "wasting time with Vim" was the thing that made me reply the way I did. Learning Vim properly has helped me every single step of my way.
Re:What I would do differently if I was learning to program again
on Monday July 09, 2018 @09:01AM (#17489856)
I'd use Vim from day 1, instead of wasting time with several IDEs.