Better HN
topnewbestaskshowjobs
Log inSign up

omidmnzadeh

19 karma · joined May 30, 2018 (8y ago) · 6 submissions

Submissions

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

Ask HN? Just click! I have almost always found some good advice in these threads.

comment 8y ago · link · parent

"Vim"? No. I don't use it anymore. The "Vim's Way"? I use it everyday!

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

I'd use Vim from day 1, instead of wasting time with several IDEs.