An Elm-inspired language that compiles to Go, Hindley-Milner types, server-driven UI, single binary output
16 points by adaszko
16 points by adaszko
I'm not sure if this project is meant to have wide appeal, but if that is a goal, I would suggest using a C-style syntax rather than a Haskell syntax. It's hard to make an apples-to-apples comparison, but it seems like the languages and syntaxes with a C-style syntax keep winning over the Haskell-style syntaxes. While FP (functional programming) has definitely left a considerable mark on the most popular programming languages, syntax has not been FP's legacy: none of the top 10 most popular programming languages use a Haskell or OCaml style syntax, Rust beat Haskell and OCaml and TypeScript beat every FP-syntax-for-JS language despite the FP languages having a decade+ head start.
I want to disagree but I know Gleam had a huge uptick in attention when the syntax was changed from ML-style to C-style (despite Louis's own personal preferences). Also see how much more market penetration Scala had vs F#.
Agreed, and it seemed to me that F# was much more beloved by those who were able to get past the syntax, which suggests an even starker syntax effect (i.e., it seems F# is the “better language” in some sense, but it may have been held back because of its syntax—this is speculation of course).