by ghayes · 8y ago · 0 comments
That's the reason TypeScript won. It intergrate with existing JavaScript seamlessly.
Does it mean the equivalent to `class` keyword in the OO sense?
Since functions are first class, you can bodge this with an object that has functions in it, but since those don't serialize they don't play well with a lot of Elm idioms if you put them in your model.