@devilish666 to Programmer [email protected] • 11 months agocodeStyleimagemessage-square44arrow-up1400arrow-down128
arrow-up1372arrow-down1imagecodeStyle@devilish666 to Programmer [email protected] • 11 months agomessage-square44
minus-square@bassomitronlinkEnglish5•edit-211 months 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.linkfedilink8•edit-211 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-square@[email protected]linkfedilink2•11 months agoThat’s exactly how I was taught Java styling in college. Idk if it was official styling or just professor preference though.
minus-square@[email protected]linkfedilink1•11 months 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 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.