Comment

Comment by the__alchemist

Structs and classes work fine for that. You don't need getters/setters/inheritance/factories etc.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton