39

Zig vs Rust. Which one is going to be future?

I think about pros and cons and what to choose for the second (modern) language in addition to C.

@programming@programming.dev

you are viewing a single comment's thread
view the rest of the comments
[-] sukhmel@programming.dev 3 points 3 days ago

So I who am careful to write readable and safe code

I just want to point out that it's hard to be sure your code is readable if you don't work with a team. More than once I saw people write "readable" code that was not readable. My own code I deemed "readable" was in fact not, as time had shown when I returned to fix something. So, the cited part looks a bit arrogant ๐Ÿ˜…

[-] OpenStars 2 points 3 days ago

Fair - and in fact doubly so bc even code that is readable in a language that someone else does not know (well) isn't so "readable" by definition. i.e. "readable by someone who knows the language" != "readable by most developers".

Though having to rediscover how our code works is something shared by all languages. Perl does allow the worst there though.

this post was submitted on 03 Oct 2024
39 points (86.8% liked)

Programming

17135 readers
151 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