𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 2 years agocodeStylelemmy.worldimagemessage-square41linkfedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imagecodeStylelemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square41linkfedilink
minus-squarebassomitron@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-22 years agoIn 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.
minus-squareBaut [she/her] auf.@lemmy.blahaj.zonelinkfedilinkarrow-up0·edit-22 years agoBut also classes? In Java, I normally see camelcase (objects, variables, functions, …) except for class definitions, which are PascalCase. The package itself often is camelcase though iirc?
minus-squareObsidianNebula@sh.itjust.workslinkfedilinkarrow-up0·2 years 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-up0·2 years agoSame I was taught. Think it’s official. Professor was a stickler for following official rules so I doubt he would deviate.
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.
But also classes? In Java, I normally see camelcase (objects, variables, functions, …) except for class definitions, which are PascalCase.
The package itself often is camelcase 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.