News for hackers. Stuff that matters.
Re:The Gleam Programming Language by lxdlam on Wednesday January 14, 2026 @01:12AM (#46612907)
I still suspect the effectiveness of plugging in a type system patch to a complete system, like typescript to javascript. We still observe so many `as any` or `as unknown as` at every corner.

Despite of the suspicion, Gleam provides a better and elegant syntax for those who are not familiar with Erlang or functional programming languages, which I loved most.

Re:The Gleam Programming Language by __jonas on Wednesday January 14, 2026 @03:27AM (#46613661)
That doesn’t really apply to Gleam, it’s not a type syntax for another language that can be stripped, it’s its own language that compiles to Erlang and JS
Re:The Gleam Programming Language by giacomocava on Wednesday January 14, 2026 @01:49AM (#46613114)
There’s no “unknown” or “any” in Gleam, it’s not possible to cheat the type system that way