logoalt Hacker News

xigoilast Thursday at 9:26 AM1 replyview on HN

ConvertTo-Json? What kind of naming convention is that, especially with all the other commands being lowercase?


Replies

fainpullast Thursday at 9:44 AM

The naming convention is `verb-noun`. It's convenient for discoverability and consistency. The short commands are aliases.

The last command is properly cased, because I pressed tab (it auto-completes and fixes the case). The other commands I typed without tab completion. You can write however you want, PS is not case sensitive.