Talk:Camel case and snake case: Difference between revisions

From Rosetta Code
Content added Content deleted
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
Should hyphens be treated as white space and hence be removed in camelCase--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 14:43, 5 April 2024 (UTC)
Should hyphens be treated as white space and hence be removed in camelCase--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk: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 and 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)