by jb55 · 16y ago · 0 comments
It's possible I just live in the wrong area and I'm going to the wrong schools, but that has been my experience so far.
http://python.org/about/success/
http://python.about.com/od/gettingstarted/ss/whatispython_3....
I'd say your prof is pretty myopic.
Of the success stories, I particularly like this email about Python on NYSE from 2003:
http://code.activestate.com/lists/python-list/%3COF78FB9C74....
Just because there is still more COBOL code running in the "real world" than there is C# code doesn't mean C# is 'radical'.
Plus HackerNews readers are likely to be less concerned with what people used 5 years ago when they started the projects that are big today (e.g. Java etc.) they're more interested in what people are using _NOW_ to make the projects that will be big tomorrow (e.g. Python)
Of course it has many drawbacks too - Closed source, off-putting syntax for some people, dependency on .net - but it's quite impossible to find an equivalent on linux (python doesn't even come close for scripting and piping stuff), and i find myself missing it sometimes.
I think the most flexible kind of interfacing between independent apps will always be text based. It makes no sense to impose some typed object model onto those interfaces. That just causes more dependencies which is exactly what you want to avoid for that type of integration.
On the other hand, this very feature of powershell is amazingly powerfull, and allows you to lay out some things fare more logically than you could/would do in a text based shell, not to mention purely interface with more complex applications written in .net flawlessly (like doing a small GUI for your script in five seconds for example).
When you work with text, you're basically reinventing parsing at every pipe, and that, too makes no sense at all, for certain applications.
EDIT: What you said just reminded me of something on dadgum http://prog21.dadgum.com/74.html.
Notice the lack of reg exs - no grep or cut. Its also far shorter than the equivalent python session. You'd know that if you spent about 10 seconds on wikipedia, but im happy to reproduce. There are object pipeline shells on unix but many of the projects are dead.