4 ms·
I can relate to this. Especially being new to programming leaves one with so many options to name things. Just recently I wrote something about naming conventio
by rwieruch 7y ago
I can relate to this. Especially being new to programming leaves one with so many options to name things. Just recently I wrote something about naming conventions in JavaScript [0], but this is only syntax related common sense and not applicable for any other language (I guess). So it would be great to have a guide that doesn't only go into the syntax, but also the semantics (boolean: open -> isOpen). Thanks for putting this together!
[0] https://www.robinwieruch.de/javascript-naming-conventions https://www.robinwieruch.de/javascript-naming-conventions
- konspence 7y agoSmall nitpick: the document has a typo. > In contrast, in JavaScript backend application, kebap-case Should be ‘kebab’ Edit: kebab is the spelling that was intended https://trends.google.com/trends/explore?q=Kebab,kebap https://trends.google.com/trends/explore?q=Kebab,kebap
- sneak 7y agoThe word is not native to 8859/latin1, and there are several different transliterations in common use (afaict depending on region). Kebap is one of them. See also: pita/pide (the bread the keba{b,p} comes in)
- deleted 7y ago[deleted]
- cyberpunk 7y agoDepends I suppose.. In germany, it's kebap..