Comment

Comment by MiroslavPokorny

That not much to jump all the way to jdk21.

Math.clamp is literally 2 / 3 lines.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton