I came from Java, so it kind of makes sense.

I’m glad the Rust devs thought to allow disabling non-snake_case warnings.

This language is actually really great and versatile. (I also use tabs instead of spaces)

  • kia@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    14 hours ago

    Tabs > spaces for sure, but camel case is blasphemy.

    • esa
      link
      fedilink
      arrow-up
      3
      ·
      13 hours ago

      I do like the idea of having an intent level character. And once we have that, we don’t need AltGr7 etc (curly braces) to denote which level we’re at either, the whitespace has all the information we need.

      But ultimately I just use whatever is default for the language formatter these days. My own personal preferences on that isn’t actually that important, and I find that’s a common feeling once someone just works with the default for a while.

    • commander@lemmings.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 hours ago

      Ahh, one fewer key to hit, mi amigo!

      It doesn’t look as “computer nerdy” as snake case, but I also prefer the readability of it.