Hey Folks!
This month we're featuring a talk lovingly put together by Dr. Theodore Norvell of MUN's Computer Engineering Faculty. Dr. Norvell has been experimenting lately with event driven design and wanted to share his thoughts. See the abstract below!
Title: Take Back Control (Or How I Learned to Stop Worrying and Love Event Driven Code)
A lot of what we do is event-driven: user interfaces process events from users; servers process events from clients; clients process events from servers. The usual way of dealing with event-driven code is "inversion of control", which essentially means we are implementing a state machine. Inversion of control often leads to messy code that is hard to understand and modify.
This talk presents an alternative to inversion of control and a library called Take Back Control. The library lets us write event-driven code according to the principles of structured programming. The library can be used from languages such as JavaScript, TypeScript, Python, and Haxe.