Linked by Thom Holwerda on Thu 25th Jan 2007 00:43 UTC
Microsoft "Once upon a time, when DOS walked the earth, the command line was the primary user interface for most of our computers. Then, Windows came along, and Microsoft seemed set on leaving the command prompt to dry up and wither into obscurity. Fortunately, Microsoft has again turned its attention to the command line and, in so doing, has produced one of the most compelling new Windows features eWEEK Labs has ever had the pleasure to test: Windows PowerShell."
Thread beginning with comment 205513
To view parent comment, click here.
To read all comments associated with this story, please click here.
FishB8
Member since:
2006-01-16

Passing objects around just makes more sense.

I'm not so sure that's such a great idea. Sure, it makes it a bit less of a mess, but what do you do when you're trying to pipe to/from a 3rd party program that doesn't support this object model?

Reply Parent Bookmark Score: 4

codehead78 Member since:
2006-08-04

I'm not so sure that's such a great idea. Sure, it makes it a bit less of a mess, but what do you do when you're trying to pipe to/from a 3rd party program that doesn't support this object model?

Serialize the object to text. It's easy to go from an object to text, but not the other way.

There is a reason we have the notion of structures in programming languages and don't store everything in strings.

Reply Parent Bookmark Score: 3

rajj Member since:
2005-07-06

You can represent any in memory data structure as a text stream using some form of markup. XML comes to mind for the more complicated cases. Simple white space works for the more trivial cases.

Reply Parent Bookmark Score: 3

acamfield Member since:
2006-11-17

And what happens when windoze in their infinite wisdom changes an object class but doesn't teach the other cmdlets how to deal with the new properties. Piping works because it's simple and every Unix/Linux CLI program understands it. This is a typical MS answer for a problem that doesn't exit.

Reply Parent Bookmark Score: 2