> On 2014 Nov 18, at 07:56 , Brad Beyenhof <bbeyen...@icloud.com> wrote:
> 
> Indeed. When we had a PowerShell presentation at our local LOPSA chapter, all 
> the *nix guys were really salivating. If only we could get bash to return 
> everything as an object rather than needing to mangle lots of text-based 
> program output with awk or Perl!

A data structure doesn't an object make, and trying to pass methods from one 
program to another is just a recipe for pain (often because the sysadmin and 
dev disagree about what should be possible, and the sec admin needs something 
neither the dev nor sysadmin ever imagined, so the methods don't line up 
correctly, and getting an interface to convert is much more difficult with data 
structures than raw text.)  I've lived that pain more than once.

That said, ksh has some pretty slick object oriented functionality and can pass 
objects around easily enough if you prefer.  It's also much faster than bash.


----
"The speed of communications is wondrous to behold. It is also true that 
speed can multiply the distribution of information that we know to be 
untrue." Edward R Murrow (1964)

Mark McCullough
mark.mc...@gmail.com




_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to