There's been this debate in my team lately. We need to create a Powershell module defining a couple of functions that will be reused in various scripts.
Some team members think that the exposed functions in the module should take objects as arguments instead of 2 or 3 primitive type parameters. Others argue that if you look at Powershell's base commands, while they may return objects, they never take objects as parameters.
Considering how tedious it is to manipulate objects in Powershell compared to "real object-oriented" languages, do you think it's worth the extra cost ? Are there any commonly accepted best practices regarding taking objects as input ?
Generally speaking, was Powershell ever designed with full traditional object-orientation in mind, or does its command-line nature necessarily bastardize how we write and use Powershell code ?