@devilish666 to Programmer [email protected] • 9 months agocodeStyleimagemessage-square44arrow-up1399arrow-down128
arrow-up1371arrow-down1imagecodeStyle@devilish666 to Programmer [email protected] • 9 months agomessage-square44
minus-square@bassomitronlinkEnglish5•edit-29 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-29 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•9 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•9 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.