Kotlin

These posts are all related to Kotlin and learning Kotlin.

April 2, 2020

Use OpenCV with OpenRNDR

Make OpenCV available with the OpenRNDR template

Read

March 31, 2020

Kotlin Folder Got To Have It

I ran into some trouble tonight when I didn't make a kotlin folder.

Read

March 23, 2020

Build OpenCV for Java/Kotlin on macOS

Building OpenCV for Java can be a bit of a trip.

Read

March 8, 2020

When Type Inference Doesn't Cut It

It turns out you can't always use Kotlin's type inference. There are times when you need to explicitly call out the type.

Read

February 19, 2020

First Attempt At Collections

How I started using Kotlin's list and determined how to iterate over it.

Read

February 18, 2020

Shorthand Function Syntax

Save yourself some typing(and reading) with Kotlin's shorthand function syntax.

Read

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.

Read

February 15, 2020

I'll Receive You Some Test Events!

A fix for the Intellij message "Test events were not received" when running tests with Gradle and Kotlin.

Read

February 13, 2020

Single Expression Functions

I recently learned about single expression functions and am amazed at how simple the function you can created with them are.

Read