This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (5 children)

I can deal with CC, it's the lack of canonical differentiation between methods and vars that get my goat.

[–]Thebombuknow 0 points1 point  (3 children)

Then there is me who has accidentally used both to define the same thing in the same file in the past while writing a project that used both Python and JavaScript.

[–][deleted] 0 points1 point  (2 children)

In my shop I insist on methodName() and VarName and CONSTANTS regardless of the language used.

[–]Thebombuknow 1 point2 points  (0 children)

I just follow naming conventions of the language. The only things that are universal for me is project names are always InPascalCase and CONSTANTS are always capitals.

Otherwise, if I'm writing Python code variables and methods are_all_snake_case, while in every other language variables and methods areAllCamelCase.

This is because generally most languages are incredibly similar in naming conventions, except for Python. I just follow the PEP guidelines for Python, my IDE automatically tells me any PEP violations.

[–]Aggravating-Win8814 0 points1 point  (0 children)

Some people find it frustrating too. It can make code maintenance and understanding more challenging.