logoalt Hacker News

Try Gleam

53 points • by nchagnet • today at 11:55 AM • 56 comments • view on HN

Comments

subarctic • today at 1:20 PM

I have a web app i've been using regularly and develop regularly with gleam on the frontend and backend. I have written very little of the code by hand and use claude to implement everything, open PRs and stuff and it works well. I like that it's typesafe and you can share code between the frontend and backend so easily, and you don't have to get a bunch of config right like you do if you want an all-typescript application. If I was writing it by hand I think I would find there's an annoying amount of boilerplate, but since ai is writing the code for me it's not a big deal.

Overall, I recommend it.

➕ show 2 replies
stiiv • today at 1:38 PM

Apart from the language, what's the developer experience like, especially doing full-stack?

F# showed a lot of promise with Fable, but the community never quite got the tooling right, I think for a lack of energy/funding.

adamddev1 • today at 12:48 PM

Gleam is really a delightful language with great ideas, but the lack of currying is a tragedy.

Missing currying feels a little to me like walking in FP land with one leg cut off.

➕ show 2 replies
nchagnet • today at 11:55 AM

I wrote this to show my appreciation of this small-ish but beautiful language.

hmokiguess • today at 12:50 PM

To your point on "Gleam: the bad" and the ecosystem being small, I would add that this community has a history of activism behaviour. Some like that, I'm out.

➕ show 5 replies
barddoo • today at 1:20 PM

I've been keen to try it out for a while, I might do something with it in the near future.

listedb • today at 1:21 PM

Hey! I know this!

micbas • today at 12:36 PM

Naive question: why do we care about programming languages when we no longer read programming languages directly? Shouldn't we either design languages optimized for LLMs? (needs fewer tokens, easier for bots to process, easier to machine verify, not sure what else)

➕ show 9 replies