Comment

Comment by rosmax_1337

I fail to see any argument why the namedtuple beats the usage of a class here. A class in a development view of the problem, is also a structure to build and expand upon, a tuple is a promise this won't be expanded upon. Clearly case dependent which is better.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton