this post was submitted on 11 Sep 2025
40 points (100.0% liked)

Programming

22695 readers
79 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 !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Specifically, I'm interested in BEAM, but I'm not sure if I should go for Elixir or Gleam. What seems cool about Gleam is that it has static typing.

I have no experience with functional programming at all btw

(page 2) 2 comments
sorted by: hot top controversial new old
[–] vane@lemmy.world -2 points 4 days ago* (last edited 4 days ago) (3 children)

Erlang https://learnyousomeerlang.com/ If you know golang and recurrence it should be easy, google basically stole channels from Erlang and syntax from Swift. Like everything else, they just stealing stuff and claiming they're great. Fucking rich script kiddies.

load more comments (3 replies)
[–] FizzyOrange@programming.dev -3 points 5 days ago* (last edited 5 days ago) (4 children)

Rust. It has all the good bits of functional programming but basically none of the bad bits.

Good bits:

  • Strong type system (though not quite as sophisticated as Haskell or OCaml).
  • Map, filter, etc.
  • First class functions (though lifetimes can make this a bit awkward)
  • Everything is an expression (well most things anyway).

Bad bits:

  • "Point free style" and currying. IMO this is really elegant, but also makes code difficult to read very quickly. Not worth the trade-off IMO.
  • No brackets/commas on function calls. Again this feels really elegant but in practice it really hurts readability.
  • Global type inference. Rust requires explicit types on globals which is much much nicer.
  • Custom operators. Again this is clever but unreadable.
  • Small communities.
  • Poor windows support (not a fundamental thing but it does seem to be an issue in practice for lots of functional languages).
load more comments (4 replies)
load more comments
view more: ‹ prev next ›