Dave Wyatt
Dave Wyatt
Oh? Where's that setting in the ISE?
Don't get him started! :P
There's quite a difference between authoring scripts that are compatible with other platforms and using them on Linux / Mac myself. I don't need to "outgrow" my preferred editor, thank...
FWIW, I can't think of any situation where I've needed to test for a variable's existence, rather than its value. Strict mode can help with identifying bugs that come from...
Personally, I tend to use the `return` statement in functions where I only intend to output a single object (or at least only output from that line.) I know that...
Personally, I don't think brace placement or comment-based help block placement matters, so long as it's consistent across the codebase. When you contribute to a project, if they've specified a...
I frequently use non-advanced functions internally (unless I want to support multiple parameter sets), though everything exported is Advanced. I'm not really sure why I do it; it just seems...
I guess another way of putting it is this: If I, the module author, control all of the calls to a function, then I can write that function however the...
Switches should be treated as booleans, period. Trying to make a third "state" is a mistake that will just confuse users at some point. (Splatting comes to mind as a...
I would have probably gone with an enumerated type with a default value. (Or a ValidateSet, which amounts to the same thing). Something like this: ``` posh function Get-ChildItem {...