• Baut [she/her] auf.@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    9 months ago

    But also classes? In Java, I normally see camelcase (objects, variables, functions, …) except for class definitions, which are PascalCase.
    The package itself often is snakecase though iirc?

    • ObsidianNebula
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      That’s exactly how I was taught Java styling in college. Idk if it was official styling or just professor preference though.

      • OR3X@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        Same I was taught. Think it’s official. Professor was a stickler for following official rules so I doubt he would deviate.