4 ms·
Agreed, I think F# which already has an interpreter would have been a great and obvious choice. Terse Syntax, amazing type inference, and a great existing commu
by carlmr 7y ago
Agreed, I think F# which already has an interpreter would have been a great and obvious choice. Terse Syntax, amazing type inference, and a great existing community.
- maxxxxx 7y agoThis may be interesting. Script languages generally aren’t typed but maybe a language with very good type inference may feel like it’s untyped.
- carlmr 7y agoYou mostly don't need types in F#, although types often add readability, especially for function signatures (IMHO). F# will even compile let add a b = a + b add 1 2;; as val add : a:int -> b:int -> int val it : int = 3 or let add a b = a + b add 1ul 2ul;; as val add : a:uint32 -> b:uint32 -> uint32 val it : uint32 = 3u So it will even infer type from the first usage of the function.