This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
It seems like there is still a lot of enthusiasm for new compile-to-native languages, but I am particularly interested in compile-to-JavaScript.
I like static types and the ability to do encapsulation (eg with something like OO for defining data types). I like to feel like a language has a small ācoreā and relatively small syntax. I donāt like the Haskell syntax for functions (āNumber -> Number -> Number,ā that kind of stuff) as found in Elm and PureScript. I like the idea of MLs like Reason, but the details of how types and modules work, and the standard library, and the tool chain, are just all too weird for me. Some of itās just really old cruft because OCaML is an old language, and also TypeScriptās approach to types makes a lot more sense to me, where types are expressions in terms of other types, and you can do what you want with them. But TypeScript is a big language that inherits JavaScriptās quirks.
I like that ClojureScript feels sort of small and has macros, but the dynamic typing, the memory-inefficient persistent data structures hard-coded into the language (and difficulty defining new data types and separating interface from implementation), and various other things rub me the wrong way.
Iāve looked at Haxe (couldnāt get into it), and Dart (too basic).
From what Iāve seen of Elm, the syntax is too Haskelly, but I donāt think the type system is very powerful. Itās also very hard to drop into JS when you need to, I hear.
Anyway, I know Iām complaining a lot and not being very specific. I just want to hear about languages I havenāt mentioned. I wonāt be too harsh on anything you send my way.
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Programming...