Author image

Josh Greenwood | Blog

I'm Josh, a developer from the North East of England. I love making awesome native mobile and web apps. I love what I do and never stop learning.
Coffee Enthusiast ☕️⎮ Sailor ⛵️⎮ Clean Coder 🛀

The SOLID Principles and Kotlin

The SOLID Principles are a set of five Object Orientated Design(OOD) Principles, originally complied by Robert Martin that can be followed in order to design more scalable, flexible and maintainable codebases. This article will cover each principle and how it can help, with examples in Kotlin.

Testing Coroutines is Easy with Mockk

Using coroutines to write asynchronous, non-blocking code is becoming the new norm with kotlin. However, testing asynchronous code can be difficult, especially once we need to start mocking dependencies. Mockk, Kotlin, Mocking, Coroutines, Testing, TDD, Clean Code, Software Development.Testing suspend functions, testing deferred functions