Comment

Comment by jagged-chisel

> Authors of these libraries use @available annotations to indicate the operating system version that a declaration was introduced in.

I never knew that was the intended use. I thought it was “available (to use) starting with (version)”

Edit: reading further, the example is backward from what I would have intuitively expected from the author’s arguments. So they’re advocating for using @available the way I thought it was used, and adding @backDeployed to indicate when it was added? I find this confusion and unnecessary.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton