3 ms·
I think PureScript would have been much more popular from the get go if it used a syntax closer to existing JS syntax. This is why TypeScript is so popular, and
by pitaj 10y ago
I think PureScript would have been much more popular from the get go if it used a syntax closer to existing JS syntax. This is why TypeScript is so popular, and also why CoffeeScript is now very unpopular among Javascripters.
- harpocrates 10y agoI think the point of PureScript was to have a Haskell that would compile to JS, but which (unlike GHCJS) would have breaking changes to integrate better with JS features. Trying to look like JavaScript might be a bit hard then... That said, I'm curious about what sorts of things you think they could have done to have a more JS-like syntax. Any ideas?