---
title: "#sealed-classes articles | Hashnode"
description: "Explore 5 articles tagged #sealed-classes on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/sealed-classes"
---

Tag

# #sealed-classes

5 posts · 0 followers

[Android Expert](https://hashnode.com/@android-expert) · [9h ago](https://hashnode.com/posts/let-the-compiler-review-your-ui-choosing-between-enums-sealed-classes-and-sealed-interfaces/6af4a26e6c48498f5e1cef18)

### [Let the Compiler Review Your UI: Choosing Between Enums, Sealed Classes, and Sealed Interfaces](https://android-expert.hashnode.dev/let-the-compiler-review-your-ui-choosing-between-enums-sealed-classes-and-sealed-interfaces?utm_source=hashnode&utm_medium=feed)

Learn when to use Kotlin enums, sealed classes, or sealed interfaces for Android UI state, and how exhaustive when catches missed cases early.

23 min read · [android-expert.hashnode.dev](https://android-expert.hashnode.dev/let-the-compiler-review-your-ui-choosing-between-enums-sealed-classes-and-sealed-interfaces?utm_source=hashnode&utm_medium=feed)

[Sébastien NOIROT](https://hashnode.com/@sebnoirot) · [Sep 23](https://hashnode.com/posts/optional-is-not-your-domain/6ab35df85d8ec0bfc05eba8c)

### [Optional is not your domain](https://iwtyo.today/optional-is-not-your-domain?utm_source=hashnode&utm_medium=feed)

From null to Optional to explicit domain types in Java.

9 min read · [iwtyo.today](https://iwtyo.today/optional-is-not-your-domain?utm_source=hashnode&utm_medium=feed)

[Manikandan S](https://hashnode.com/@manikandan4411) · [Sep 21](https://hashnode.com/posts/java-17-features-in-java/6ab150c696d7d41c750cba14)

### [Java 17 Features in Java](https://manikandan4411.hashnode.dev/java-17-features-in-java?utm_source=hashnode&utm_medium=feed)

Author by Manikandan S - 21st September 2026

4 min read · [manikandan4411.hashnode.dev](https://manikandan4411.hashnode.dev/java-17-features-in-java?utm_source=hashnode&utm_medium=feed)

[Gidudu Nicholas](https://hashnode.com/@nicowalter) · [Jun 20](https://hashnode.com/posts/how-to-handle-errors-the-right-way-in-flutter-a-practical-guide-to-sealed-classes-records-and-result-types/6a36e90fd5185a258a6a5508)

### [How to Handle Errors the Right Way in Flutter: A Practical Guide to Sealed Classes, Records, and Result Types](https://freecodecamp.org/news/how-to-handle-errors-the-right-way-in-flutter-a-practical-guide-to-sealed-classes-records-and-result-types?utm_source=hashnode&utm_medium=feed)

I used to think I was handling errors well in my Flutter apps. I had try/catch blocks everywhere. I was catching exceptions, logging them, and showing error messages to users. It felt solid. Then I st

17 min read · [freecodecamp.org](https://freecodecamp.org/news/how-to-handle-errors-the-right-way-in-flutter-a-practical-guide-to-sealed-classes-records-and-result-types?utm_source=hashnode&utm_medium=feed)

[Abstract Algorithms](https://hashnode.com/@abstractalgorithms) · [May 3](https://hashnode.com/posts/java-14-to-17-records-sealed-pattern-matching/69f6f94174d75d74a6211056)

### [Java 14 to 17: Records, Sealed Classes, Text Blocks, and Pattern Matching](https://abstractalgorithms.hashnode.dev/java-14-to-17-records-sealed-pattern-matching?utm_source=hashnode&utm_medium=feed)

Records eliminated boilerplate. Sealed classes enforced type hierarchies. Pattern matching removed redundant casts. Java 17 LTS made it stable.

25 min read · [abstractalgorithms.hashnode.dev](https://abstractalgorithms.hashnode.dev/java-14-to-17-records-sealed-pattern-matching?utm_source=hashnode&utm_medium=feed)
