hackers ⊈ developers
Hackers are not optimizing for performance or readability.I've watched a few penetration testers at work - they have to have a very broad knowledge base and work at speed. They're not sitting around wondering if their query is going to work in 1s or 0.1s - it just doesn't matter.
Awesome to see 'real' sql in action though.
hackers ∩ developers ≠ ∅
(The set of all hackers are not a strict subset of the set of all developers, but it's also true that some hackers - yes, in the breaking-in-to-something sense - are developers.)Speak for yourself ;-)
FYI I'm referring to 'trying to break into a system, possibility illegally, with time pressure, hackers', rather than HackerNews hackers. Which I thought was reasonably obvious from the context.
If you're actually trying to crack a system, you're generally trying a lot of different things very rapidly. Tweaking performance and nicely formatting code you're going to immediately discard is... a misappropriation of resources.
On the movie, also, the girl was not trying to crack into a computer - she seemingly had full MySQL console access.
(Actually, the way usually explain it to non-techies: duct tape. Everyone understands what duct tape is meant for: it won't necessarily win any awards for style[1], but it's powerful, and it sure as heck gets the job done in a pinch, and quickly too! I find that analogy generally holds well enough, whether we're talking about black-hat hacking or 'real' hacking.)
[1] Most of the time, that is: http://www.google.com/search?hl=en&q=duct%20tape%20cloth...