by davedx on 8/31/24, 9:45 AM
Great programming lang article, starts with premises then shows examples, iterations, and final words. Gleam looks really interesting, though personally I’ll stick with TypeScript because it’s “good enough” and I understand where mutability can sneak in sometimes well enough these days.
by oDot on 8/31/24, 11:42 AM
I rewrote my webapp, Nestful[0], in Gleam.
I use it in Vue components with Vleam[1]. About half of the frontend is rewritten at the moment, and it is a joy to use.
I'd do it again just for the error handling.
[0] https://nestful.app
[1] https://github.com/vleam/vleam
by zeroc8 on 8/31/24, 10:10 AM
I'm currently a Java developer working on a large code base. This is where Java's object oriented nature really shows its weaknesses. Reading other people's code becomes a huge pain, since everything is mutable and you can never be sure what state your program is in after a function call. Even C++ is better in that regard, at least you can pass values by copy or const reference.
Gleam looks really nice at first glance. The problem of course is, as long as there is no industry support, it doesn't make sense to invest into it. It may be ok for small side projects, but I wouldn't dare starting a major application in something like that. Sooner or later you come across something you need and there is no library for it. Then you are forced to start messing around with FFI and whatnot.
by k__ on 8/31/24, 10:08 AM
Half-OT: Is there any effort on getting BEAM on WebAssembly? There was Lumen/Firefly, but the repo got archived a few months ago.
by widdershins on 9/2/24, 8:18 AM
by WuxiFingerHold on 8/31/24, 10:46 AM
A perfect hands-on introduction. Gleam is on the paper the "Simpler Rust". Yet very powerful. But it's so incredible hard to become relevant in the programming language world. As others have said: Typescript (esp. with Deno) is not that bad. Yes, error handling is miles away from Gleam, but is this enough for people to make the switch?
by victorbjorklund on 8/31/24, 9:30 AM
As an elixir developer I'm so jealous at Gleam (but stay with Elixir because ecosystem and phoenix)
by jroesner on 8/31/24, 10:19 AM
As always put together perfectly. Not only fun to read, but also a new item on my todo list.
by dxxvi on 8/31/24, 9:13 AM
It seems to me that Scala has all the features that Gleam has. And they both run in VM's. Scala is not very popular and Gleam is less popular that that. Someone must really love learning a new language to learn Gleam. I respect it very much.
by sureglymop on 8/31/24, 9:27 AM
Gleam is great. I think adoption will highly depend on developer tooling, LSP, ide integration etc.
The experience is alright now but it has to get better to go mainstream (if that's even desired). If I had time I'd love to contribute.
by 28304283409234 on 8/31/24, 9:36 AM
From
https://gleam.run :
> Black lives matter. Trans rights are human rights. No nazi bullsh*t.
I agree, but I do not agree with painting people that disagree as 'Nazi'.
*edit: that quote was from the Gleam website, not the website linked.