Hacker News new | past | comments | ask | show | jobs | submit login

Not to mention the "I'm writing this code to hack this system before the guy wakes up, but I should still comment it! Someone may have to maintain it." part.



For what it's worth, if I'm writing a quick script I'll often write a few quick comments first (e.g. "Load data from file", "Connect to API", etc) before I start writing any code, just to plan it out. Similar to how many people will create a bunch of empty methods when creating a new class, before fleshing them out.


If I remember correctly, he was hacker-typing it as he went, top to bottom, which was a bit funny.


Movies should get vim or emacs experts to type their code, it'd be a lot more impressive.


Eh, we still type at an average speed in insert mode :-P


If you're staying in insert mode you don't qualify as a vim expert.

Rapid-fire editing with text objects, dot, macros, column mode, :norm, and so on ought to work pretty well on screen.


Yeah, not when you're typing a stream of code.


Well obviously that's not what I'm proposing to show.


Rapid-fire editing with text objects [...] ought to work pretty well on screen.

I wish they'd just do away with the rapid-fire crap altogether. It breaks the immersion. A mildly witty easter egg does not compensate for making every nerd in the audience of your nerd-movie cringe...

Just show some realistic typing, with mistakes and perhaps a quick copy/paste.


I'm not saying anything extreme, just something realistic for an accomplished vimmer, which is impressive enough and would do the opposite of making nerds cringe.




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

Search: