Comment

Comment by liveware

It depends on the complexity of the problem. Data classes can make the code easy to read, and if you use a good IDE then it will also be faster to write.

I suggest you focus on making the program work, before considering how to best manage state. Readability and performance can be improved through refactoring later.

parent liveware 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton