Kotlin is a young language, and with that comes many untrodden paths and unknown gotchas. Let’s explore one of these anti-patterns, for the sake of the article I’ve called it “Also this is null”.
Tag: clean code
[TUT] Kotlin Extension Functions by Example
Kotlin Extension functions allow you to add behaviour (think methods/functions) to any other type on the platform or in your codebase. The idea being to allow for greater flexibility and less boiler plate code. Let’s…
Hexawhat Architecture?
Have you ever heard of hexagonal architecture? In my experience, the question quite divides people. It’s either yes! wow! I love it, I’m doing it / experimenting with it right now, OR no what? what…
This one simple change for better class naming will blow your mind
Single Responsibility[^n], Beware the Share[^n], Boyscout Rule[^n]. These are some conventions that guide good practice in software development and I believe naming can benefit from these ideas and other practices. This blog post will discuss…
Read more of This one simple change for better class naming will blow your mind
Clean Code: Java Class Fields
Keeping your code clean is no easy task. Clean code allows your project to pass the test of time. It can be broken down into making your code simple to read, write, and understand. This…
CleanCoders – Mobile App Case Study Review
Learning is hard and comes in many forms. I have recently finished watching “Mobile Development with Swift” an online ~10 hour video series by Robert C Martin of the [Clean Coders](https://cleancoders.com/) website. It aims to…
[TUT] Create your own CheckStyle check
Android code is just like any Java system, you need to write tests and have automated code review checks. CheckStyle is a way of double checking your Java code. Checkstyle is a development tool to…