News for hackers. Stuff that matters.
Re:Cmd - A saner way to running external programs from C# by MichaelGG on Saturday December 08, 2012 @04:01PM (#4892679)
This is a neat use of dynamic/reflection. But why is it "saner"? What's wrong with wrapping the normal process I/O stuff and just doing: cmd("git clone") ?

This is the same question I have when I see dynamic typing used to access data sources. Like reading a CSV file and doing 'row.Field1' instead of 'row["Field1"]'.

Is there really any benefit or point, other than being a cute hack?

Re:Cmd - A saner way to running external programs from C# by manojlds on Sunday December 09, 2012 @12:24AM (#4893913)
Yes, it started out as a hack. I wanted to see how close I can get to the Python implementation. I am not envisioning it to be used, but would be happy if someone found it useful :)