this post was submitted on 30 Sep 2023
59 points (84.7% liked)

Programming

17326 readers
250 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] alokir@lemmy.world 38 points 1 year ago (3 children)

Depends on what you already know.

Functional languages like Haskell, Clojure or Erlang have a reputation of being hard to grasp.

Rust's borrow mechanics are hard for some people at first, especially because it's very unique to the language.

Javascript can be frustrating because it also has some rare features among popular languages, and uses the same keywords for different concepts. It's not bad at all once you let go of your assumptions and dedicate the time to understand how it works under the hood.

C++ is also notorious for being hard but I haven't used it for a very long time so I can't say anything about it.

[–] tatterdemalion@programming.dev 10 points 1 year ago

Javascript can be frustrating because it also has some rare features among popular languages, and uses the same keywords for different concepts.

I don't think those are the reasons JS is frustrating.

[–] gpopides@lemmy.world 8 points 1 year ago (1 children)

For Erlang I would say that the hard part is not the language itself (maybe a bit because it is influenced by prolog) but because of the mental model. Using concurrency and parallelism as core concepts of the language and understanding that you don't need a lot of the external tools you would with the more mainstream languages is what's hard imo.

[–] JackbyDev@programming.dev 2 points 1 year ago

Yeah I bet, I've always wanted to learn Erlang. People always speak to highly of it. The guy that made Sonic Pi was saying he wished he would've used it because Sonic Pi involves a lot of music loops playing at the same time and stopping individual ones and modifying them etc and because so many of those concepts are baked in he said it would've been nice

[–] Nulubez@sh.itjust.works 6 points 1 year ago

Clojure : if lisp had an illegitimate baby with java. Add to it the pain of setting up fireplace in vim or having to use emacs. At a former employer we had one area in closure. I could read it without much difficulty but damn if it didn't take me weeks to write or update it