3 ms·
I tried to make a c-compiler in gleam. One thing I really didn't like is the lack of interfaces/type-classes and lack of composition operator.
by ninetyninenine 1y ago
I tried to make a c-compiler in gleam. One thing I really didn't like is the lack of interfaces/type-classes and lack of composition operator.
- Alupis 1y agoGleam has a note regarding type-classes on their website[1]. The language itself seems to aim to remain simple - which is a pretty good thing in my opinion. [1] https://gleam.run/frequently-asked-questions/#will-gleam-have-type-classes https://gleam.run/frequently-asked-questions/#will-gleam-hav...
- ninetyninenine 1y agoI don’t like it. Makes it feel like golang it’s like they want to keep it simple so they remove something fundamental. Golang says the same shit in their faq and there’s a whole slew of people who gave golang so much shit for it. Especially the fp community. Golang for the longest time had no generics. Now it doesn’t have sum types. When you try to build something truly complex like a compiler, you’ll see the abstractions start to screw up because can’t use interfaces in gleam.