Some nice Kotlin things - expressions

March 22, 2017

Kotlin has a lot of great features. As someone coming to kotlin from a java background, I want to highlight some of the little things that make it great. Today, it’s expression assignments. ... Read more

Unit testing with kotlin - mini dsls

March 20, 2017

Fair warning: these examples are contrived, but the structure is very much based on a real world problem. testing against a shared persistence layer Recently I was writing a series of unit tests for a homegrown query language. The query language was designed to be end-user friendly for moderately to advanced technical users. The data being searched on is stored in ElasticSearch, and we needed to test a variety of edge cases and ensure that they were correctly translated into ES queries. ... Read more

© 2017 | Follow on Twitter