kebab case

It’s a minor thing, but somehow I never until just today knew that when you name variables using hyphens between words, like some-variable or count-of-chickens, it’s called kebab case. And, duh, of course it is.

I did already know, just so the record is clear, about camel case and snake case.

It sounds like a developer’s version of rock, paper, scissors: kebab skewers snake, snake bites camel case, camel case crushes kebab. I’m not sure how to differentiate the hand signals for kebab and snake. Programming is hard.


[cjtoolbox name=’learning’]

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Join the waitlist…

PeakZebra is currently in active development. Sign up for the newsletter and be the first to know when PeakZebra reaches early release! Plus occasional previews and progress updates.

Please enable JavaScript in your browser to complete this form.