3 ms·
I use both. Depends on the context. In Swift (where I spend most of my time), it's CamelCase, or, quite often, dromedaryCase.
by ChrisMarshallNY 2y ago
I use both. Depends on the context.
In Swift (where I spend most of my time), it's CamelCase, or, quite often, dromedaryCase.
- jrpelkonen 2y agoI’ve never heard of dromedaryCase. It has always been PascalCase vs camelCase in my circles. TIL
- ChrisMarshallNY 2y agoIt's a joke. I made it up. Probably not a good idea to propagate it. ;) I think that there is an official name for lowercase-prefixed CamelCase, but I don't remember it.
- ReleaseCandidat 2y agoThat's camelCase. Uppercase would be PascalCase.
- CRConrad 2y agoAh, makes sense: The hump is in the middle. (Though yes, camels have two; should be dromedaryCase.) But then again, camels have heads at about the same height as the hump, so...
- ChrisMarshallNY 2y agoTIL. Thanks!
- rerdavies 2y agodromedaryCase has one hump. camelCAse has two humps. (I appreciated the joke; and biologists everywhere will thank you).