News for hackers. Stuff that matters.
Re:jq 1.7 released by claytongulick on Wednesday September 06, 2023 @11:13PM (#37414318)
I'm not going to defend my opinion on powershell, because it's indefensible and arbitrary.

I just can't stand title case, and Microsoft/.net absolutely love it. Everything in power shell is DoSomethingLikeThis.

Powershell is a great piece of tech that I just can't use because I'm old and grumpy and like snake or kebob casing.

I've never tried it on Linux though, so maybe it's different there?

Re:jq 1.7 released by haltcase on Thursday September 07, 2023 @01:38AM (#37415117)
In this case, you might be glad to learn that PowerShell is case-insensitive, even for CLR methods.
Re:jq 1.7 released by cwalv on Thursday September 07, 2023 @02:44AM (#37415525)
Are underscores/dashes coalesced out too?
Re:jq 1.7 released by majkinetor on Thursday September 07, 2023 @03:41AM (#37415863)
There are aliases, you can name things with a letter if you want. There are even good ones OTB.
Re:jq 1.7 released by vips7L on Thursday September 07, 2023 @05:53PM (#37426119)
Most builtins are aliased:

    Get-ChildItem == gci
Re:jq 1.7 released by cryptonector on Thursday September 07, 2023 @10:56AM (#37419819)
I greatly dislike case-insensitivity. It's a source of many problems for users and implementors.

For implementors case-insensitivity means the need for full Unicode support is urgent, while Unicode canonical equivalence does not often make the need for full Unicode support urgent. In practice one often sees case-insensitivity for ASCII, and later when full Unicode support is added you either have to have a backwards compatibility break or new functions/operators/whatever to support Unicode case insensitivity.

For users case-insensitivity can be surprising.

For code reviewers having to constantly be on the lookup for accidental symbol aliasing via case insensitivity is a real pain.

Just say no to case insensitivity.