3 ms·
I want something more like rust or typescript. Not Haskell.
by CooCooCaCha 3y ago
I want something more like rust or typescript. Not Haskell.
- bmitc 3y agoThen F# it is. :) Rust was partially inspired by F# and OCaml and actually had a much more ML-like syntax early on. Probably something similar goes for Typescript. And actually, the same for Gleam as well. F# doesn't really relate to Haskell at all. They are very different languages. F# is a multiparadigm language that easily supports concise code in the imperative, OOP, and functional styles. It sounds like you maybe don't know much about F# if you think it's like Haskell, which is okay. But that's also why I would recommend checking it out.
- xupybd 3y agoF# is not Haskell at all. If you want to write non functional code you can. It's functional first but it has side effects, mutable variables and a host of features you get in other languages. I really recommend trying it.
- giraffe_lady 3y agoI use ReScript for this. Bindings for node are very complete and for deno they're enough for the most common uses.
- hannofcart 3y ago+1 to this. Love Rust and everything about it. However, to script something small/casual I would like all the rest of Rust but with automatic garbage collection, without having to worry about lifetimes.