Everyone should have a tool-building factory factory factory
fuck_u_spez @ fuck_u_spez @lemmy.fmhy.ml Posts 1Comments 16Joined 2 yr. ago
fuck_u_spez @ fuck_u_spez @lemmy.fmhy.ml
Posts
1
Comments
16
Joined
2 yr. ago
Yeah this was my initial reaction way back when I first heard of Rust as well (sometime around 2015 or so I think). TBF it's definitely not on the same level as e.g. Haskell. But it's generally I would say less verbose than go (or at least has verboseness where it makes sense compared to go IMHO).
A good article about this: https://matklad.github.io/2023/01/26/rusts-ugly-syntax.html
The generic system is also (way) less powerful compared to Rusts (The trait type system/type-classes is really a nice Haskell-inspired thing, that I don't want to miss anymore). Also the lack of sum types and proper pattern matching makes go more verbose IMHO.