How does event-driven programming even work? | Hacker News Reader