Skip to content
Sealed classes and interfaces in Kotlin

The power of sealed interfaces in Kotlin

  • Kotlin

I’m a strong advocate of the separation of logic principle. In the service layer, we often deal with various I/O operations and interactions with external systems. Not only is it essential to correctly handle exceptions but also make a clear distinction between successful responses and different error scenarios. Kotlin offers sealed classes and interfaces as a powerful tool to establish a predefined hierarchy of subtypes. In this post, I will show you how this feature has proven invaluable, allowing me to keep my code concise without the burden of excessive boilerplate.

No code dilemma.

The No-Code Dilemma

Using low to no-code platforms offers benefits in terms of increased efficiency and rapid development, but it’s essential to recognize their limitations and use them only when appropriate. Here’s a brief overview of some downsides of using no-code and a scenario where it can add business value without compromising good software development practices.

Change review challenge

Infrastructure as Code: Safe Deployments with Change Review in AWS

In today’s post, I explore a crucial aspect of managing AWS infrastructure with CloudFormation: the safe deployment of changes. I take a closer look at a feature known as change sets, which empowers you to thoroughly review alterations before applying them. Furthermore, I expand on automation of change reviews and contrast it with a different approach using Terraform.

Cost of serverless

The Cost of Serverless

In this blog post, I delve into my personal perspective on the cost implications of harnessing serverless capabilities. Crafting a project from the ground up on Google Cloud Platform allowed me to gain insights worthwhile sharing. This article focuses on DataFlow as a streaming engine, Bigtable, a scalable database, as well as Cloud Functions. Join me as I explain some of the trickier tradeoffs, exploring not only the financial cost but also whether the technology delivers on the promise of increased efficiency.

Waterfall

The Real Value of the Waterfall Model

  • Agile

I was listening to episode #40 of my favourite podcast Happy Path Programming by Bruce Eckel and James Ward. The episode features agile coach Barry Hawkins who talks about flaws and misconceptions when interpreting agile methodologies. Among other things, he shares some interesting facts about the dreaded Waterfall model. Turns out that the usual perception of Waterfall being rigid and dated is nothing but a massive misinterpretation of what it actually means.

The Psychology of Money

The Psychology of Money

The Psychology of Money by Morgan Housel is an insightful read on the relationship between psychology and finance. The book expands on various psychological factors that influence our financial decisions and highlights the importance of understanding these drivers to achieve financial success and happiness in a long run.