devilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agocodeStylelemmy.worldimagemessage-square44fedilinkarrow-up1396arrow-down129
arrow-up1367arrow-down1imagecodeStylelemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agomessage-square44fedilink
minus-squareBaut [she/her] auf.@lemmy.blahaj.zonelinkfedilinkarrow-up8·edit-28 months agoBut 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?
minus-squareObsidianNebula@sh.itjust.workslinkfedilinkarrow-up2·8 months agoThat’s exactly how I was taught Java styling in college. Idk if it was official styling or just professor preference though.
minus-squareOR3X@lemm.eelinkfedilinkarrow-up1·8 months agoSame I was taught. Think it’s official. Professor was a stickler for following official rules so I doubt he would deviate.
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?
That’s exactly how I was taught Java styling in college. Idk if it was official styling or just professor preference though.
Same I was taught. Think it’s official. Professor was a stickler for following official rules so I doubt he would deviate.