News for hackers. Stuff that matters.
Re:Elm at Pacific Health Dynamics by hawkice on Tuesday April 10, 2018 @02:22AM (#16799435)
From an OO perspective, Elm lacks interfaces. Typeclasses are probably the best way to handle the idea of interfaces in the functional programming model.

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.

Re:Elm at Pacific Health Dynamics by a-saleh on Tuesday April 10, 2018 @04:18AM (#16799863)
I thought about this, and kinda came to a conclusion, than I would take a language that has generics, and doesn't have interfaces (i.e. Elm) over a language that has interfaces and doesn't have generics (i.e. Go)
Re:Elm at Pacific Health Dynamics by boubiyeah on Tuesday April 10, 2018 @09:18AM (#16801097)
typescript has both :D
Re:Elm at Pacific Health Dynamics by a-saleh on Tuesday April 10, 2018 @10:26AM (#16801598)
Well, in my professional life, there is a lot of untyped Python on the horizon :P

And for side-projects I think I prefer PureScript anyway?