Comment

Comment by jayd16

Objects are essentially structs with namespaces and methods with implicit this params. If you can't have state then you throw structs out too.

If you're going this far, you're essentially throwing away typing as well.

Are you actually just opposed to private fields?

parent jayd16 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton