median_user

joined 1 year ago
[โ€“] [email protected] 0 points 5 days ago (1 children)

Missed opportunity to call it a premake

[โ€“] [email protected] 5 points 9 months ago

Sets are super useful for all sorts of stuff where you want the datatype to guarantee there is only one instance of a value in the collection. UI components where you are incrementally adding things to a selection is a great example.

It's a completely standard feature in many stdlibs and has nothing to with turning JS into a database.