RC 2022 Day 11 - Kotlin & start of week 3

2022-08-22

Kotlin

Today I started porting my calendar app from Python to Kotlin. I really enjoyed using Kotlin again, it's been a while!

I've been mostly using dynamic languages recently (mostly Python), and it was really refreshing to use a strongly typed language. I did spend a noticeable amount of time figuring out some type issues, but the code I wrote seems a lot more robust for that.

Relatedly, I learned today that Kotlin's map has a getValue function that raises a NoSuchElementException if the value doesn't exist, as well as the get function that returns an optional type.

Also, I really enjoyed using some of Kotlin's built in higher order functions.

Start of week 3

Today is the first day of week 3, and I've been reflecting on the highlights of my first two weeks:

It's been great so far, and I especially enjoyed working with and meeting people, but it's also been a bit intense. Today I had a pretty quiet day of coding by myself, and I'm hoping I can figure out how to balance things in the coming weeks.

I also realised that while I'm enjoying working on my calendar app, it's not the thing I'm most interested in doing. I think I'll try to finish it to the most basic version I'll be happy using, and then move on. I'll try not to commit myself to any projects for the next while, and instead do whatever I'm most motivated to do day to day.