• bassomitron@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    8 months ago

    In college and workplace, all java projects I ever worked with used camelCase. Whether that’s the official stance of Java or not, I don’t recall.

    • Baut [she/her] auf.@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      8 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?

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

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