Have you ever heard that Rust is difficult and has a steep learning curve?

In this blog post, the author will explain why he believe that is wrong and, in some cases, easier than some other programming languages.

  • snaggen@programming.devOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I think the author is correct about the compile / test ratio being drastically shifted in rust vs other languages. One thing to have in mind regardng this, is that in larger companies testing may be performed by a dedicated team. Hence, a shift to rust will give the impression of a much higher workload for the developers. In reallity the workload should be pretty much the same since the bugs from testing still needs to be fixed, but that will be spread out over a larger time span due to going by the test team first.

    • taladar@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      The other thing to consider is that any bug that makes it to the testers or even to production code takes so much more effort to fix than if you had caught the same bug early on. No communication overhead with the testers, no fixing corrupted data in the live database, no scheduled downtimes,…

      • open_world@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I couldn’t agree more. Dealing with bugs in test/production is so much worse all across the board in my experience.