• RustyNova@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    Well until you are deep into trait/future/generic territory. Because then you’ll go in big fuck (full type being in a separate file) not being correct somewhere in this shit.

    Don’t get me wrong, I love rust. But those area really need some love

    • 5C5C5C@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      Still much better than C++ templates, and I say that as someone who used to genuinely love C++ template metaprogramming. Admittedly Rust traits+generics are far more limited than C++ templates, but very often I find that to be a positive. The list of things that I feel traits+generics are missing is small and rapidly shrinking.