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.

@[email protected]

  • lad@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months 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@discuss.online
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months 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.