[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Coding Style



OOP - CamelCase.  BeginningCaps for methods, classes, camelCase for
classData.

All others - snake_case.

I use type hints in variable names.

Shell scripting, ALL_CAPS.


On 10/12/2018 10:43 AM, Charles Shapiro via Ale wrote:
> Me too.? The more interesting question:? snake_case or CamelCase for
> naming in source code?? I'm Old School and learned snake_case deep in my
> fingees, but all the CoolKids these days seem to have migrated to
> CamelCase, so I'm trying to do this also.? Alas, sometimes the result of
> this is a mix of both, which I am positive is the pessimal outcome.
>