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)

  • @RustyNova
    link
    9
    edit-2
    12 hours ago

    Sorry, but we’ll have to cargo clippy --fix you

    • esa
      link
      fedilink
      111 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.

    • @[email protected]OP
      link
      fedilink
      English
      111 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.

  • @[email protected]
    link
    fedilink
    513 hours ago

    (I also use tabs instead of spaces)

    Your editor automatically converts tabs into spaces, right?

    … right?

  • @[email protected]
    link
    fedilink
    English
    513 hours ago

    java was my first language and now every time i changed contracts from java to something else like python, or ruby, or c++, i still keep using camelcase out of habit and it drives the other devs mad. fortunately, i mostly refactor legacy work so i almost never work on new stuff that would let me use camelcase. lol

  • @[email protected]
    link
    fedilink
    English
    010 hours ago

    I like to program using sarcastic spongebob case. Gives me more time to think, the variables and functions look different to other library methods.