lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Uppercase-initial globals
From
: Egor Skriptunoff <egor.skriptunoff@
...
>
Date
: Wed, 22 Jun 2022 11:21:35 +0300
A question about Lua coding style.
Is it a good or bad idea to distinguish global from local variables by its uppercase / lowercase initial letter?
Var=0 -- global
var=0 -- local or upvalue
https://stackoverflow.com/questions/72710110/uppercase-or-lowercase-for-global-variables
Follow-Ups
:
Re: Uppercase-initial globals
,
Ryan Starrett
Re: Uppercase-initial globals
,
Hugo Musso Gualandi
Re: Uppercase-initial globals
,
Flyer31 Test
Re: Uppercase-initial globals
,
Sean Conner
Re: Uppercase-initial globals
,
Lorenzo Donati
Prev by Date:
Re: How determine data type used in function argument?
Next by Date:
Re: Uppercase-initial globals
Previous by thread:
Re: How determine data type used in function argument?
Next by thread:
Re: Uppercase-initial globals
Index(es):
Date
Thread