3 ms·
By the way, where does the capitalized kebab case come from? Prior art or just Microsofts general hankering for capitalization (e.g. C#s Class.DoSomething() vs
by mhd 10y ago
By the way, where does the capitalized kebab case come from? Prior art or just Microsofts general hankering for capitalization (e.g. C#s Class.DoSomething() vs Java's Class.doSomething())?
- Aaronepower 10y agoWhat you're thinking of is PascalCase https://en.m.wikipedia.org/wiki/PascalCase https://en.m.wikipedia.org/wiki/PascalCase
- pritambaral 10y agoYour parent probably meant Kebab as in the dash (skewer-stick) between words.
- 794CD01 10y agoWikipedia calls it Train-Case but doesn't provide a source. https://en.wikipedia.org/wiki/Letter_case#Special_case_styles https://en.wikipedia.org/wiki/Letter_case#Special_case_style...
- int_19h 10y agoNote that it's not quite "kebab case". The dash only separates the initial verb from the object, but the rest of it is regular PascalCase. So Get-ChildItem, not Get-Child-Item. PascalCase is well-established in the Microsoft developer ecosystem. It goes at least all the way back to Win16 and Windows 1.0 (it using the Pascal calling convention might have something to do with it, perhaps). More importantly, it is used uniformly in .NET, and PowerShell builds on top of .NET, and deals with .NET objects directly, which have properties like e.g. `FullName`. So it makes sense for consistency.