Naughty Dog interview question

What is the difference between event-driven programming and polling?

Interview Answer

Anonymous

Sep 4, 2020

Both interrupt driven code and event driven code waits for event before running a code, while polling will attempt to query for event whether or not one actually exists.