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

Tag

# #type-safety

7 posts · 0 followers

[Android Expert](https://hashnode.com/@android-expert) · [6h ago](https://hashnode.com/posts/zero-cost-types-the-fine-print-on-kotlin-value-classes/6af4a07c1efa3ee1bac4e75f)

### [Zero-Cost Types? The Fine Print on Kotlin Value Classes](https://android-expert.hashnode.dev/zero-cost-types-the-fine-print-on-kotlin-value-classes?utm_source=hashnode&utm_medium=feed)

Learn when Kotlin value classes avoid heap allocation, when boxing returns, and how name mangling affects Room, Retrofit, serialization and Java.

12 min read · [android-expert.hashnode.dev](https://android-expert.hashnode.dev/zero-cost-types-the-fine-print-on-kotlin-value-classes?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)

[jg k](https://hashnode.com/@junggikim) · [Mar 17](https://hashnode.com/posts/stop-writing-if-checks-refinement-types-java/69b91e65125e4462c46db6bb)

### [Stop Writing if-checks: Refinement Types in Java 8+](https://junggikim.hashnode.dev/stop-writing-if-checks-refinement-types-java?utm_source=hashnode&utm_medium=feed)

The Code That Lives in Every Java Codebase Every Java developer has written this code. You have written this code. Probably this week. A method starts with five lines of null checks, blank checks, and range checks before a single line of business log...

9 min read · [junggikim.hashnode.dev](https://junggikim.hashnode.dev/stop-writing-if-checks-refinement-types-java?utm_source=hashnode&utm_medium=feed)

[Moon Robert](https://hashnode.com/@synsun) · [Mar 9](https://hashnode.com/posts/typescript-5x-in-2026-features-that-actually-matte/69af2b05cc87a11ae380af22)

### [TypeScript 5.x in 2026: Features That Actually Matter for Production Code](https://synsun.hashnode.dev/typescript-5x-in-2026-features-that-actually-matte?utm_source=hashnode&utm_medium=feed)

After 180k lines of TypeScript 5.x, here's what actually changed how I write code: using declarations, NoInfer, inferred predicates, and verbatimModuleSyntax.

8 min read · [synsun.hashnode.dev](https://synsun.hashnode.dev/typescript-5x-in-2026-features-that-actually-matte?utm_source=hashnode&utm_medium=feed)

[DevTools Guide](https://hashnode.com/@devtoolsguide) · [Mar 4](https://hashnode.com/posts/trpc-end-to-end-type-safe-apis-without-the-ceremony/69a826b5187dd2342a00373b)

### [tRPC: End-to-End Type-Safe APIs Without the Ceremony](https://devtoolsguide.hashnode.dev/trpc-end-to-end-type-safe-apis-without-the-ceremony?utm_source=hashnode&utm_medium=feed)

tRPC: End-to-End Type-Safe APIs Without the Ceremony Most API architectures have a type safety gap: your backend has TypeScript types, your frontend has TypeScript types, but the wire between them is untyped. You maintain REST endpoints, write OpenAP...

7 min read · [devtoolsguide.hashnode.dev](https://devtoolsguide.hashnode.dev/trpc-end-to-end-type-safe-apis-without-the-ceremony?utm_source=hashnode&utm_medium=feed)

[DevTools Guide](https://hashnode.com/@devtoolsguide) · [Mar 3](https://hashnode.com/posts/pkl-apples-configuration-language-for-type-safe-config/69a6566ad6ed70651a65eaca)

### [Pkl: Apple's Configuration Language for Type-Safe Config](https://devtoolsguide.hashnode.dev/pkl-apples-configuration-language-for-type-safe-config?utm_source=hashnode&utm_medium=feed)

Pkl: Apple's Configuration Language for Type-Safe Config Configuration files are a quiet source of production incidents. A YAML file with a wrong indentation level. A JSON file missing a required field. A Terraform variable set to "true" (string) in...

8 min read · [devtoolsguide.hashnode.dev](https://devtoolsguide.hashnode.dev/pkl-apples-configuration-language-for-type-safe-config?utm_source=hashnode&utm_medium=feed)

[Umesh Malik](https://hashnode.com/@umeshmalik) · [Dec 15, 2024](https://hashnode.com/posts/typescript-utility-types-a-complete-guide/69945674878356f1f541bfe1)

### [TypeScript Utility Types: A Complete Guide](https://umesh-malik.hashnode.dev/typescript-utility-types-a-complete-guide?utm_source=hashnode&utm_medium=feed)

TypeScript's built-in utility types are powerful tools that help you write cleaner, more maintainable code. In this guide, I'll walk through the most commonly used utility types with practical examples from real-world applications. ', descripti...

3 min read · [umesh-malik.hashnode.dev](https://umesh-malik.hashnode.dev/typescript-utility-types-a-complete-guide?utm_source=hashnode&utm_medium=feed)
