Talk:Camel case and snake case: Difference between revisions

From Rosetta Code
Content added Content deleted
(- in camelCase)
 
mNo edit summary
Line 1: Line 1:
==- in camelCase==
==- in camelCase==
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)

Revision as of 18:45, 5 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 and a subtraction symbol, so I suggest it be removed, so that "sub-zero volume" becomes "subzeroVolume" --Wherrera (talk) 18:45, 5 April 2024 (UTC)