Hacker News new | ask | show | jobs
by bmitc 57 days ago
> I'd say if you know and like Rust, then Gleam should be easy to pick up

I think by sentiments like this, people mean if you know unions, records, and pattern matching then you'll more easily pick up another language that has unions, records, and pattern matching.

1 comments

Yep, that's essentially what I mean. There's even this official cheatsheet[1] that shows a lot of overlap.

[1] https://gleam.run/cheatsheets/gleam-for-rust-users/

This shows only the base syntax and has nothing of the language functionality, so is incapable of showing overlap between the languages.
Again you’re really reading way past what I’m saying. The superficial stuff is the reason it may be a good first place to look.

You’re being contrarian for no reason.

Right, and I’m explaining that my multiple years of experience teaching and helping newcomers that an expectation of similarity to Rust frequently results in difficulty, and that it is beneficial to downplay any perceived link.