Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's a funny easter egg.

Sadly I distinctly remember the scene of him "typing" that in as one of the weakest in this otherwise great movie.

The awful "hollywood rapid-fire typing"[1] stood out like a sore thumb.

[1] http://hackertyper.net/



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.


Edit: Some spoilers maybe in here...

Though I appreciate the fact that it was genuine code, the fact that after a couple of minutes from that scene we discover that Caleb was actually just disabling security locks (basically reversing security measures to unlock doors when power's out instead of locking) right before he went on to talk wit Ava, which seemed a bit weird to me that he needed to write code for, especially some seemingly generic Python code.


I was just impressed that it was actually a programming language and looked like valid Python.


That site just made me laugh out loud.


Ok, that is an awesome web site.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: