I’ve been working with a Javascript (+ TypeScript) + Java + SQL stack for the last 10 years.

For 2024 I’d like to learn a new programming language, just for fun. I don’t have any particular goals in mind, I just want to learn something new. If I can use it later professionally that’d be cool, but if not that’s okay too.

Requirements:

  • Runs on linux
  • Not interested in languages created by Google or Apple
  • No “joke languages”, please

Thank you very much!

EDIT: I ended up ordering the paperback version of the Rust book. Maybe one day I’ll contribute to the Lemmy code base or something :P Thank you all for the replies!!!

1 point

I would suggest Nim, I had a blast learning it and making a small project. It is not a mainstream language, nor is it a joke language.

https://nim-lang.org/

permalink
report
reply
0 points
*

Alternatives

  • C#, because it’s good
  • Rust, because it’s different
  • a (purely) functional language, because it’s different
  • Nushell, nice shell, and great for scripted data processing
permalink
report
reply
0 points

C

permalink
report
reply
-1 points

IMO Zig obsoletes C in the way that go and rust tried to do. Personally, I would advise anyone to not learn C; or even start a new project in C, for that matter.

permalink
report
parent
reply
0 points

Id suggest rust, gets you a step closer to the hardware and a bit of a different paradigm than Java while still feeling high level.

permalink
report
reply
0 points

Rust is definitely something I’ve been keeping an eye on. The syntax looks a bit scary, to be honest, but looks very versatile.

permalink
report
parent
reply
-1 points

Definitely rust, and definitely use rustrover from jetbrains for an IDE. It’s amazing

permalink
report
parent
reply
0 points

I see you mentioned JS, but not TS. If you haven’t tried TypeScript, you 100% should! It helps a lot at scale.

Also, I really do recommend Rust. It’s pretty awesome having the errors actually make sense, and it’s not as complicated as the hype makes it out to be (until you get into async rust lol).

As others have mentioned, C# is also awesome.

permalink
report
reply
0 points

We do use TS as well, yes!

Rust is definitely a language I’m considering. Syntax looks a bit scary, though!

permalink
report
parent
reply
-1 points

Rust syntax is totally fine really. It often feels like writing python

permalink
report
parent
reply

Programming

!programming@programming.dev

Create post

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



Community stats

  • 2.3K

    Monthly active users

  • 971

    Posts

  • 8.7K

    Comments