User avatar

The art of programming

Zod v4
3
5
1

Zod v4

Zod v4, the latest iteration of the TypeScript-first schema validation library, introduces a suite of enhancements aimed at improving performance, developer experience, and flexibility. After over a year of development, Zod v4 is now stable and available for use

May 25, 2025

Published by fox

The Adapter Pattern in TypeScript
3
3

Adapter Pattern

The Adapter Pattern in TypeScript

In software development, flexibility and reusability are crucial. Often, we find ourselves working with components or APIs that don’t quite match the interfaces we need. This is where the Adapter Pattern shines. In this article, we'll explore what the Adapter Pattern is, why it's useful, and how to implement it in TypeScript.

May 22, 2025

Published by fox

TypeScript Lies? The Hidden Risks of Using Predicates!
1
3

Typescript

TypeScript Lies? The Hidden Risks of Using Predicates!

At first glance, a function like isString seems harmless. It tells TypeScript: "If this function returns true, you can trust that the input is a string." But what TypeScript doesn’t do is verify the logic inside that function. You, the developer, are now responsible for proving that assertion is correct. TypeScript simply takes your word for it

Apr 19, 2025

Published by fox