Ask HN: Great programming language features, other languages should steal?
1–10 of 44 posts
Re: Ask HN: Great programming language features, other languages should steal?
#2Re: Ask HN: Great programming language features, other languages should steal?
#3Re: Ask HN: Great programming language features, other languages should steal?
#4Re: Ask HN: Great programming language features, other languages should steal?
#5Re: Ask HN: Great programming language features, other languages should steal?
#62. Currying like in Haskell.
Re: Ask HN: Great programming language features, other languages should steal?
#7My ideal language is something like F# but with HKTs, trait, macros, union types (without discriminator), basically most features dotty aka scala 3 introduced.
Re: Ask HN: Great programming language features, other languages should steal?
#82. scoped threading a la kotlin and by using certain libraries, rust to a degree.
3. structs / records (i feel bad putting this since every language but java seems to have it).
4. macros of some kind
5. type inference
6. enums a la rust / sealed types in kotlin which are needed for pattern matching afaik
Re: Ask HN: Great programming language features, other languages should steal?
#9Other than that? Delimited continuations. Guile-fibers, a parallel concurrent ML (which I would describe as a generalisation of go's concurrency model) for guile scheme is implemented using them as a scheme-only library. No low level voodoo. Just straight forward scheme.
Re: Ask HN: Great programming language features, other languages should steal?
#10* Higher-kinded types. Can a List and a Stream both be considered a T ?
* Differentiate between functions with and without effects.