[ale] Coding Style

Joey Kelly joey at joeykelly.net
Fri Oct 12 18:14:47 EDT 2018


On 10/12/18 11:26 AM, DJ-Pfulio via Ale wrote:
> OOP - CamelCase.  BeginningCaps for methods, classes, camelCase for
> classData.
>
> All others - snake_case.
>
> I use type hints in variable names.


Yeah, me too... floating arrays, char integers, etc...


--Joey

>
> 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.
>>   
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


More information about the Ale mailing list