• slacktoid@lemmy.ml
    link
    fedilink
    English
    arrow-up
    22
    ·
    30 days ago

    Rust requires you to unlearn some of the C and CPP habits. And so it’s like learning a language that approaches things differently. That is pretty fun to see how another language solves a problem etc. I think rust is a very fun and interesting language tbh. But you are free to not like it, that’s all good man. That’s why we have different languages. After getting into rust, for me, you need to convince me to use C or Cpp, they have their niches for sure, but rust allows that too like embedded programming etc.

    • BrianTheeBiscuiteer@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      30 days ago

      This checks out. I tried some Rust coding challenges and couldn’t get my stuff to compile mostly. When I see the solution it seems straightforward but also not intuitive.

      • slacktoid@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Yeah, there’s a lot a cool ways to chain ways to process things and all. Its like building a muscle, I’ve noticed with time and practice (sometimes just repetition after seeing the answer if that works for you) and things get more intuitive. Cause theres a lot of thought on why a pattern is a certain way, and on C you could use teh same hammer for everything. Here you have different tools in a way.