Typed Error Handling in Kotlin
<p>Error handling is not rocket science. It is simple, but not always straightforward. This article studies some popular logical error handling patterns in Kotlin programming language. We will look into practical examples and the impact they might have to the cognitive complexity and maintainability of a program.</p>
<h1>Introduction</h1>
<p>Choosing an error handling strategy is one of the most fundamental decisions that can either make or break larger software projects. Poor error handling strategy compounds. It impacts not only readability, but also reliability and long term maintainability of a software project. Professional software teams need to pause, make a conscious decision and objectively analyze the tradeoffs when deciding what strategy to use. They need to make sure that the decision fits their best principles, as well as software engineering best practices. Software teams would benefit from one that embraces simplicity and enhances developer productivity: One that is succinct, readable and easily understood.</p>
<p><a href="https://betterprogramming.pub/typed-error-handling-in-kotlin-11ff25882880"><strong>Website</strong></a></p>