Cases (Scripting)

There are different types of cases for naming variables. The different cases are:

camelCase

PascalCase

snake_case

LOUD_SNAKE_CASE

kebab-case

idiotcase

camelCase
camelCase is known as that because it looks like a camel. In camelCase, in the first word, there are no capitalizations but for the rest of it, words are capitalized. It is primarily used by lazy programmers who do not want to capitalize the first letter in the variable name.

PascalCase
PascalCase is the official Robloxian Hacker Busters case. In PascalCase, every word is capitalized. This is because it is easiest to type and read. It is also used by Roblox for naming its services.

snake_case
snake_case is called that because it looks like a snake a little bit. In snake_case, there are no capital letters. Instead of spaces, there are underscores.

LOUD_SNAKE_CASE
LOUD_SNAKE_CASE is the same as snake_case only with all capitals.

kebab-case
kebab-case is the same as snake_case only instead of underscores, it uses dashes. This case is usually used for urls and stuff. Do not use this on roblox as it literally won't work.

idiotcase
idiotcase is not actually called idiotcase. I just named it that because you cant tell where one word ends and another starts. How are you supposed to know if 'daytime' means 'Daytime' or 'Day Time' ??? It is used by roblox for some of its built in functions including tostring and tonumber.