Hacker News new | ask | show | jobs
by 33a 33 days ago
Weirdly anti-intellectual. I'm not sure what the subtle nitpick the expert brought up, but from reading the comments I gathered that they correctly pointed out that appending to a vector is merely amortized O(1), not truly worst case constant time. This is actually kind of a big deal and is an important distinction to make. As a corollary, it means you can't just use a vector as a constant time sequence data structure in a real time application unless you preallocate it.
2 comments

The comments are preserved here: https://web.archive.org/web/20171108220351/https://nedbatche... It's a more subtle nitpick about how amortized runtime analysis is done.
Ok, yeah that guy was pretty rude. That said I still wouldn't write a whole blog post about how I was wrong, but the other guy was an asshole...

I will still stand by my opinion though that this whole thing was remarkably light on technical substance.

Interesting that the holier-than-thou people immediately try to dox the evil pyon.
I didn't get that from it. This is just venting from a teacher irritated by someone being toxic about something they made to inform people. Not sure I'd have named the person that was the "inspiration" for this. At best it probably won't change a lifetime of learned behavior, and at worst they will take glee in 15 min of fame.