Talk:Camel case and snake case: Difference between revisions

From Rosetta Code
Content added Content deleted
 
Line 3: Line 3:


: In most of the programming languages that use camelCase the hyphen is not allowed within variable names since it is interpreted as a subtraction symbol, so I suggest it be removed, so that "sub-zero volume" becomes "subzeroVolume" --[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 18:45, 5 April 2024 (UTC)
: In most of the programming languages that use camelCase the hyphen is not allowed within variable names since it is interpreted as a subtraction symbol, so I suggest it be removed, so that "sub-zero volume" becomes "subzeroVolume" --[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 18:45, 5 April 2024 (UTC)
:: I think you mean subZeroVolume. --[[User:Petelomax|Petelomax]] ([[User talk:Petelomax|talk]]) 20:21, 6 April 2024 (UTC)

Latest revision as of 20:21, 6 April 2024

- in camelCase

Should hyphens be treated as white space and hence be removed in camelCase--Nigel Galloway (talk) 14:43, 5 April 2024 (UTC)

In most of the programming languages that use camelCase the hyphen is not allowed within variable names since it is interpreted as a subtraction symbol, so I suggest it be removed, so that "sub-zero volume" becomes "subzeroVolume" --Wherrera (talk) 18:45, 5 April 2024 (UTC)
I think you mean subZeroVolume. --Petelomax (talk) 20:21, 6 April 2024 (UTC)