March 8, 2020

When Type Inference Doesn't Cut It

I thought I had this covered by creating the `Event` interface and making each implement this interface. No dice, I starting getting `Type mismatch` errors from Intellij.


February 19, 2020

First Attempt At Collections

Currently, the Dispatcher only supports a subscriber so the first assertion failed since the first subscriber was replaced by the second. How was I going to create a list of subscribers inside of the Dispatcher?


February 18, 2020

Shorthand Function Syntax

I'd seen some goofy syntax referred to in Kotlin posts and books and today I figured out how to use it!


February 17, 2020

Lambda Sans Return

I created a lambda in Kotlin the other day and was perplexed that I couldn't avoid giving it a return type.