Mar 21 · 4 min read · In Java, we have two types of exceptions, checked exceptions and runtime exceptions (I am not including the Error class). The only difference between these two types, is that the checked exception is part of the signature of the method and must be ha...
Join discussionFeb 16 · 3 min read · Flow gives us structured exception handling. Business Scenario We will: Process stocks Throw an artificial exception for demonstration Handle it safely using catch Continue flow gracefully Code Implementation package org.kotlinflowlearner.stock...
Join discussionFeb 5 · 3 min read · I got a lot of interesting feedback on Checked exceptions and lambdas. Let's start with my own: after writing the post, I realized I had written a similar post some time ago. Mistakes I made I made a mistake in the code regarding Apache Commons Lang ...
Join discussion
Feb 3 · 3 min read · Android apps don’t fail like backend services. They fail like edge nodes: lifecycle churn OEM quirks memory pressure async-heavy execution experiment-driven UI (Compose + flags) At enterprise scale, the expensive failures aren’t just the obvio...
Join discussion
Feb 3 · 10 min read · I'm working on an LLM harness to evaluate local models, specifically to evaluate quantized models exhaustively and compare them to flagship models i have experience using on OpenRouter. I have a pretty complete corpus of code, I came to a stop and wo...
Join discussionJan 22 · 5 min read · Java's checked exceptions were a massive improvement over C's error-handling mechanism. As time passed and experience accumulated, we collectively concluded that we weren't there yet. However, Java's focus on stability has kept checked exceptions in ...
Join discussion
Jan 10 · 6 min read · Exception Filters (IExceptionFilter, IAsyncExceptionFilter) are a specialized type of MVC filter designed to catch unhandled exceptions that occur strictly during the execution of a Controller Action or its Action Filters. Unlike global middleware (w...
Join discussion