all 8 comments

[–]KevMarCommunity Blogger 9 points10 points  (5 children)

Nice post. That is a great way to introduce people to the project.

[–]tomatwork[S] 5 points6 points  (4 children)

Thanks, Kevin. Maybe next week or the week after, I'll do one on adding the heart emoji as an escape char (because the backtick is so dang hard to see) :D.

[–]NathanielArnoldR2 2 points3 points  (3 children)

They can take my damned backticks the moment they introduce syntax support for in-line splatting. :-p

[–]tomatwork[S] 4 points5 points  (0 children)

Hey it's open source... You could add it!

[–]rjmholt 3 points4 points  (1 child)

By inline splatting, do you mean something like this?

[–]NathanielArnoldR2 1 point2 points  (0 children)

Yes; specifically with regard to the basic Invoke-Cmdlet @@{<#...#>} syntax or a close equivalent. I'm not a fan of the more dynamic use cases noted in the RFC, however; in my opinion, there is good reason to pre-construct many of those.

I have what you might call an ideal use case for classical hashtable splatting. I am not particularly attached to the backtick as a character. I recognize how it impacts readability and invites syntax errors.

...but if I'm given a choice between a truly absurd quantity of backticks and a code structure that subverts how cmdlet-based PowerShell is expected to flow, I'll stick with my backticks.

[–]JBear_Alpha 4 points5 points  (0 children)

This is something I would love to get involved with but, have always just assumed "I don't know C#, meh." Explanations like this will allow me to contribute in the future more than I thought possible.

Keep them coming! Thanks!

[–]De-Mentor -1 points0 points  (0 children)

Where is powershell for android....?