The cool things of Gleam

20 points by giacomo_cavalieri


ryan-duve

I've never used Gleam and vaguely understand it as "Elixir with first class types", before Elixir had types, anyway. Some of those features seem awesome and drop dead obvious (like built-in TODOs/deprecations) but then I got to this:

In Gleam, the language takes the approach of being meticulous on doing things one simple way. Which means, case expressions are your everything:

Oh no. Did Gleam throw away pattern matching for function heads? I understand how it's redundant with case statements, but that seems like a giant step backwards.