this post was submitted on 11 Jun 2024
52 points (98.1% liked)

Programming

17495 readers
88 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 27 points 5 months ago* (last edited 5 months ago) (2 children)

I mean that's pretty neat, but I'm reminded of that time a MongoDB user found an SQL-based database and wrote a lengthy article about all of the revolutionary features. Feels the same every time a Javascript dev discovers a programming language with actual typing.

Seems cool, but also.. normal? That's how languages should all work?

[–] [email protected] 6 points 5 months ago* (last edited 5 months ago)

That's how languages should all work?

While I agree, should be is not is. Also, Javascript is still a widely used and favored language, despite it's flaws.

Sometimes people need to be convinced that there's something better, hence all the articles of "Javascript devs discovering actual typing", as you mentioned. Although it seems like the author already knew there's better (I see Typescript and Rust on their Github), that they were just sharing Gleam.

As for specifically Gleam, I will say it's a very nice language. Very simple to understand (with one minor exception: I personally find the use keyword is a bit odd), strong typing, no collections of mysterious symbols (cough, Haskell), no metaprogramming, no lifetimes, no borrowing, no unclear polymorphism, no pointers, no nonsense. I like it, and am excited to see it grow

[–] [email protected] 1 points 5 months ago (1 children)

I didn't check this out but I thought BEAM was Erlang?

[–] [email protected] 5 points 5 months ago

BEAM is the VM that Erlang runs on. It also supports Elixir and some other lesser known languages