News for hackers. Stuff that matters.
Re:Small Assets without the Headache in Elm 0.19 by leshow on Tuesday August 21, 2018 @03:09PM (#17812748)
Your comparison doesn't make any sense. You would use a language like Elm/Purescript/Reason etc for the type safety, that's completely orthogonal to whether something has classes or not.
Re:Small Assets without the Headache in Elm 0.19 by eksemplar on Wednesday August 22, 2018 @01:45AM (#17816602)
Except you don’t need typesafety when you do this because you’re never expecting a specific type, and at the same time, you don’t have to waste time writing the recipe for what you’re going to do.
Re:Small Assets without the Headache in Elm 0.19 by boubiyeah on Wednesday August 22, 2018 @04:06AM (#17817137)
You're always expecting a specific type, whether the type or schema is made explicit by the language or not.