4 ms·
Yeah, I've been experimenting with it for a few days and I find it very promising. But the lack of types in JS is not such a pain point IMHO. In JS you can defi
by djfm 10y ago
Yeah, I've been experimenting with it for a few days and I find it very promising. But the lack of types in JS is not such a pain point IMHO. In JS you can define a monad that works only with numbers, which is sometimes useful, and which you cannot do in Haskell without black magic. I think Flow's idea is that most JS programs are actually naturally well typed, and it often verifies in practice. Just because you don't have a compiler yelling at you doesn't mean your program is not well typed :)
- djfm 10y agoThat being said I cannot wait for the time when Haskell becomes truly mainstream in web development.
- tome 10y ago> In JS you can define a monad that works only with numbers, which is sometimes useful, and which you cannot do in Haskell without black magic. What does this mysterious assertion mean?