|
|
|
|
|
by j-james
1045 days ago
|
|
I have a shortlist of pain points: - Tooling is not great. The language server has a tendency to silently crash on occasion, and it's no rust-analyzer to begin with. A tooling rewrite has been delayed behind proper incremental compilation, which has been delayed behind ARC/ORC... - Interfaces ("concepts") are experimental and there are two differing implementations. - It lacks proper sum types and structural pattern matching in the core language. There are a number of quite good macro-based libraries that provide for this, however: fusion/matching, andreaferretti/patty, beef331/fungus, alaviss/union... - Optional types are not the standard: the stdlib will throw exceptions. This is more so a personal preference than anything. But that's about it. I do like Nim quite a lot. |
|
We've talked about this before! You know it has sum types, just not the variation you want.