Comment

Comment by andrea_s

So, this pretty much works like an enum that can extended with additional numeric values on the fly.

But doesn't this implementation kind of defy the purpose of having an enum-like functionality in the first place?

parent andrea_s 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton