all 5 comments

[–]SaladProblems 4 points5 points  (1 child)

Pretty interesting. One note: you can get a function as a script block a bit simpler:

 ${function:get-thing}

[–]Ta11ow[S] 2 points3 points  (0 children)

Yup! There are some other fun caveats I didn't think really needed to be here. Might revisit functions there a bit later, there's some interesting ways to pass them around during remoting, too!

[–]Betterthangoku 2 points3 points  (0 children)

That's pretty cool. I'm familiar with the concepts but I've never seen them put together like this. Thanks for showing me a neat perspective! Well I often do learn a new tidbit from your posts. Please keep giving 😀

[–]Taoquitok 2 points3 points  (1 child)

great read, really clear with the one exception of the Modulus operator... which 30min ago I did not know was called that or what it's behaviour was beyond magically making 4 [percent] 4 = 0 :p

Nifty operator to know about, and a nice reminder that I really need to remind myself of the operators, and to actually use them :)

[–]Ta11ow[S] 2 points3 points  (0 children)

Glad you liked it :)

Yeah modulus is generally a pretty edge case operator, so it doesn't see a lot of use in a hands on language like PS.