• @bassomitron
    link
    English
    5
    edit-2
    9 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.
      link
      fedilink
      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?

      • @[email protected]
        link
        fedilink
        29 months ago

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

        • @[email protected]
          link
          fedilink
          19 months ago

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