By the developers own action of adding generics ultimately the golang team admits they were wrong or that generics are better. If gleam gets popular I think much of the same will occur.
There’s simply too much repeated code without generics. I tried writing a parser combinator in gleam and it wasn’t pretty.
Gleam doesn’t support interfaces. Not generics. You are completely right.
It might be the same with gleam, with first version in 2019 and 1.0 in 2024. The language authors might think they are either uneeded and lead to anti patterns, or are waiting to see the best way to implement them.
For those that don't know its also built upon OTP, the erlang vm that makes concurrency and queues a trivial problem in my opinion.
Absolutely wonderful ecosystem.
I've been wanting to make Gleam my primary language, but I fear LLMs have frozen programming language advancement and adoption for anything past 2021.
But I am hopeful that Gleam has slid just under the closing door and LLMs will get up to speed on it fast.
And I wonder if Gleam + Lustre could become the new Elm.
I have bumped into "the Elm architecture" in other projects though and it was nice.
marliechiller•1h ago
Hammershaft•58m ago
c-hendricks•58m ago
positron26•56m ago
whimsicalism•50m ago
bbatha•6m ago
kace91•51m ago
armchairhacker•50m ago
mikepurvis•22m ago
A language doesn't have to be unique to still have a particular taste associated with its patterns and idioms, and it would unfortunate if LLM influence had the effect of suppressing the ability for that new style to develop.
ModernMech•38m ago
victorbjorklund•36m ago
stanmancan•23m ago
jedbrooke•28m ago
dragonwriter•22m ago
And those people are the people that develop the body of material that later people (and now LLMs) learn from.
timeon•10m ago
thefaux•8m ago