this post was submitted on 26 Jan 2024
0 points (NaN% liked)

Programming

17123 readers
159 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
 

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!!!

top 19 comments
sorted by: hot top controversial new old
[–] liliumstar@lemmy.dbzer0.com 1 points 8 months ago

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/

[–] Kissaki@feddit.de 0 points 8 months ago* (last edited 8 months ago)

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
[–] chris@lem.cochrun.xyz 0 points 8 months ago (1 children)

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.

[–] pathief@lemmy.world 0 points 8 months ago (1 children)

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

[–] Fal@yiffit.net -1 points 8 months ago

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

[–] BiggestBulb@kbin.run 0 points 8 months ago (1 children)

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.

[–] pathief@lemmy.world 0 points 8 months ago (1 children)

We do use TS as well, yes!

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

[–] Fal@yiffit.net -1 points 8 months ago

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

[–] Bezier@suppo.fi 0 points 8 months ago (1 children)

As the other person said, Python. Or if you want something lower level, how about Rust?

[–] Fal@yiffit.net -1 points 8 months ago

Rust doesn't even have to be lower level

[–] xmunk@sh.itjust.works 0 points 8 months ago (1 children)

PHP is a really fun language syntactically and has a surprisingly good built-in library.

[–] scorpionix@feddit.de 0 points 8 months ago (3 children)

As a PHP Dev: Please avoid PHP unless you have to use it.

[–] xmunk@sh.itjust.works 0 points 8 months ago (2 children)

I know it's fashionable to shit on PHP but it's significantly better than it once was... it's honestly like a cleaner python that lets you use brackets.

[–] scorpionix@feddit.de 0 points 8 months ago

Sure, could be/was a lot worse than today. Still, PHP gives one way too much rope to hang themselves with.

[–] Fal@yiffit.net -1 points 8 months ago

Cleaner python? Hahaha that's hilarious

[–] emuspawn@orbiting.observer 0 points 8 months ago (1 children)

What would you recommend learning instead?

[–] scorpionix@feddit.de 0 points 8 months ago

My team is currently exploring rust as an alternative because we have to do a lot of api calls and data crunching real fast. So rust?

[–] rikudou@lemmings.world 0 points 8 months ago (1 children)

As a php dev who actually writes clean code and doesn't blame people writing shitty code on a language: don't listen to this fella.

[–] scorpionix@feddit.de 0 points 8 months ago

As a php dev who actually writes clean code while cleaning up after other people because Getting things done is more important: Don't give people the tools to write shitty code.