Comment

Comment by neolog

> Unlike Interfaces, Protocols can describe the types of things that already exist.

Can't interfaces do that too? You can just say builtins.set implements the receiver interface.

parent neolog 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton