How do you case variables?

i feel like when you have a var for example like this

local textbox = script.Parent

you can easily pick out the two words so therefore you can avoid doing

local textBox = script.Parent

but for example when you have words that mixes up each other that you dont even know what exactly their suppose to mean then i think you should just use camelCase

theres like nothing you can do to get around it
try reading this

alllowercase

i instantly think of “allower case” instead of “all lower case” before it suddenly it hits my head that this is suppose to mean “all lower case”
now read this

allLowerCase

or this

all_lowercase

no confusion at all

in short, if you expect the reader to be able to easily pick out two words without confusion then use all lower case and if you expect that the reader cant then use something like camelCase

as long as you dont confuse the reader i think its acceptable to use all lower case for exmaple

local steeright = script.Parent
local remotevent = script.Parent
1 Like

That’s cool, using alllowercase to move compound words into mainstream dialect xd

theorically speaking
you could MAYBE make [alllowercase](all lower case) readable by making your own font
in short, it COULD work. Maybe.
this is just an idea, i lack the actual knowledge

dont change variable naming styles

just do it. experience is the best teacher

1 Like