Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use both. Depends on the context.

In Swift (where I spend most of my time), it's CamelCase, or, quite often, dromedaryCase.



I’ve never heard of dromedaryCase. It has always been PascalCase vs camelCase in my circles. TIL


It'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.


That's camelCase. Uppercase would be PascalCase.


dromedaryCase has one hump. camelCAse has two humps. (I appreciated the joke; and biologists everywhere will thank you).


Ah, 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...


TIL.

Thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: