Deploying a Spring Boot Kofu API

Last time we built (mostly borrowed) a simple API built with Spring Fu (more specifically, Kofu) with help from Spring Boot and Kotlin. Now that we have something that works, lets get it out on the public web. DockerWe'll need to start with a Docker image - something to hand…

When and How to Comment Your Code

My previous post on code commenting was intentionally adversarial to make a point: code comments have been overdone and oversold to developers!However, here's when you should put comments in your code. 1. TeachIs there something novel in the way you did what you did? Does it stand out from…

Building a Spring Boot Kotlin Reactive API w/ Kofu

That's a lot of buzz words! See my previous post about why I chose Kotlin for this project. I'm building a just-for-fun project to learn how to build the state-of-the-art Spring Boot PWA. Yes, they aren't really related, but if you have experience with Spring Boot, this is a logical…

Once Upon A Time...

Kotlin landToday I'm starting a journey. Don't worry, I'm not leaving my house - not until the governor says it is safe to do so anyway! I'm venturing into the land of Kotlin. Have you heard of it? It is a JVM language developed by JetBrains and later adopted by…

Stop Commenting Your Code!

(This doesn't refer to JavaDoc or other externally facing documentation - see my post linked at the bottom about that) It just isn't good practice.CodingGood practice is: Writing single responsibility and modular codeNaming wellTestingDeleting code as often (or more often for older projects) as writing new codeI'll refer you…