News for hackers. Stuff that matters.
Re:Someday we will all program in Python by DannoHung on Monday June 22, 2009 @11:34AM (#668917)
Can we at least all agree that no one should be writing anything in a shell scripting language any longer?

I'd be happy with just winning that battle.

Re:Someday we will all program in Python by tsuraan on Monday June 22, 2009 @12:03PM (#668961)
I like scripting my shell using a shell scripting langauge; if I have a few dozen (or hundred) console operations that need to be done often, then a shell script is more concise than ruby. If I need to add error handling, exceptions, networking, etc, then it's time to move up, but if all that's needed are external programs and some looping and conditionals, then I don't see any problem with scripting.
Re:Someday we will all program in Python by vorador on Monday June 22, 2009 @03:53PM (#669348)
Why are you against shell scripting languages ?
Re:Someday we will all program in Python by DannoHung on Monday June 22, 2009 @11:38PM (#669828)
Because I have seen the horrors that they wreak in a production system where they are responsible for mission critical logic.

The horror. The horror.

Re:Someday we will all program in Python by vorador on Tuesday June 23, 2009 @01:29AM (#669910)
Could you give examples of it ? You could also write horrible python or ruby code.
Re:Someday we will all program in Python by DannoHung on Tuesday June 23, 2009 @11:31AM (#670542)
I don't feel comfortable posting code from my employer here, sorry. But let me address your counter-argument on its own: Saying you can write bad Ruby or Python is a turing tarpit argument. You can write bad code in any language, but I've seen a lot more bad shell script code than I've seen bad Python. Add to that that shell scripting languages are very irregular and I can't see why anyone would use a shell script for something that they actually relied on that was more complicated than invoking a few commands in sequence.