Pure Functions & Side-Effects - On Learning