Comment

Comment by teddyh

Use a named tuple. This way, you can turn it into a class if it ever becomes necessary without changing any other code.
parent teddyh 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton