And how would you describe your political tendencies? I have a theory that more MLs are gonna be into static typing and more anarchists are gonna be into dynamic typing.

  • InternetLefty [he/him]
    ·
    11 months ago

    ML. Static typing is great but sometimes I want to be more vague especially when I'm dealing with big ass template classes. auto comes in handy big time. C++. Although if I'm writing in C the decision is basically made for me

    • FunkyStuff [he/him]
      hexagon
      ·
      11 months ago

      Ever tried Rust? It has a pretty smart type inference engine that actually gives you feedback and in many IDEs you can have it autofill its inferences. Only time it kinda borks up is with iterators which tend to have extremely long type names since there might be multiple layers of generics and specifiers. But you can do something like let res: Vec<_> = some_iterator.collect() and it figures out what goes in the _ for you.

      • InternetLefty [he/him]
        ·
        11 months ago

        I haven't but Rust is definitely growing in the embedded space. I'll actually have to check it out sometime soon

        • FunkyStuff [he/him]
          hexagon
          ·
          11 months ago

          It's growing everywhere bugs-stalin

          Hexbear runs on Rust, even, and I've found it pretty fun to peruse the repo and learn some things from it.