News for hackers. Stuff that matters.
Re:Poll: What's Your Favorite Programming Language? by Aloisius on Friday March 23, 2012 @04:36PM (#3747148)
I was not expecting Python to be getting near as many votes as Ruby.

It is my favorite language simply because the pseudocode I write on whiteboards is basically Python. Strangely, it has been since well before I really started using it regularly.

Re:Poll: What's Your Favorite Programming Language? by InclinedPlane on Friday March 23, 2012 @05:05PM (#3747282)
Python is rapidly replacing ruby as the de facto scripting language for automation. It's also starting to replace Java as the language of choice for teaching programming and CS.
Re:Poll: What's Your Favorite Programming Language? by polemic on Friday March 23, 2012 @05:50PM (#3747516)
Python has been the de facto scripting language of choice for automation in a number of industries for quite some time.

I don't believe (but correct me if I'm wrong) that Ruby has ever gained much traction outside of the software development world. Perhaps we're just seeing some natural consolidation.

Re:Poll: What's Your Favorite Programming Language? by pilom on Friday March 23, 2012 @06:44PM (#3747734)
Ruby is the language that Puppet and Chef (the 2 most popular configuration management systems) are based on.
Re:Poll: What's Your Favorite Programming Language? by njharman on Saturday March 24, 2012 @12:39AM (#3748505)
The roles Puppet and Chef fill are small parts of "automation".
Re:Poll: What's Your Favorite Programming Language? by manojlds on Saturday March 24, 2012 @01:06AM (#3748542)
Puppet is written in Ruby, but has it's own DSL, so it doesn't really count.
Re:Poll: What's Your Favorite Programming Language? by wmoxam on Friday March 23, 2012 @05:40PM (#3747470)
I never knew ruby was ever considered the "de facto language for automation". Maybe you are thinking of perl?
Re:Poll: What's Your Favorite Programming Language? by InclinedPlane on Friday March 23, 2012 @06:03PM (#3747578)
I was commenting on the popularity of Python in absolute terms, not necessarily in the context of a relationship with Ruby.
Re:Poll: What's Your Favorite Programming Language? by calpaterson on Friday March 23, 2012 @05:49PM (#3747506)
No, he's thinking of Ruby. Puppet and chef.
Re:Poll: What's Your Favorite Programming Language? by Sikul on Friday March 23, 2012 @09:43PM (#3748174)
What is the Python equivalent to Puppet and chef?
Re:Poll: What's Your Favorite Programming Language? by uggedal on Saturday March 24, 2012 @05:32AM (#3748923)
The only modern and novel alternative is http://saltstack.org
Re:Poll: What's Your Favorite Programming Language? by haldean on Friday March 23, 2012 @10:44PM (#3748300)
Fabric comes to mind.
Re:Poll: What's Your Favorite Programming Language? by jonstjohn on Friday March 23, 2012 @11:45PM (#3748416)
Fabric is more of a task-oriented SSH replacement with some really nice bells and whistles, much different from Puppet or Chef. Some folks are working on Salt Stack which is python-based and more akin to the others.
Re:Poll: What's Your Favorite Programming Language? by manojlds on Saturday March 24, 2012 @01:07AM (#3748545)
Fabric is more like Cap than Puppet / Chef
Re:Poll: What's Your Favorite Programming Language? by cbrinke1 on Saturday March 24, 2012 @01:18AM (#3748565)
bcfg2 I have been using it for a few years now. Have enjoyed it much more than the other similar tools we evaluated: puppet, chef and cfengine
Re:Poll: What's Your Favorite Programming Language? by cbrinke1 on Saturday March 24, 2012 @01:18AM (#3748561)
bcfg2 I have been using it for a few years now. Have enjoyed it much more than the other similar tools we evaluated: puppet/chef/cfengine
Re:Poll: What's Your Favorite Programming Language? by cicloid on Friday March 23, 2012 @05:14PM (#3747336)
With tools such as?
Re:Poll: What's Your Favorite Programming Language? by Tichy on Friday March 23, 2012 @05:41PM (#3747473)
There are those who think that if a programming language is only usable with bloated tools, the programming language might be flawed.
Re:Poll: What's Your Favorite Programming Language? by read_wharf on Friday March 23, 2012 @10:08PM (#3748235)
That's interesting. It was exactly what I was thinking while reading the C# thread at the beginning of this article's comments. Yes, yes, mono whatever, but really ...
Re:Poll: What's Your Favorite Programming Language? by InclinedPlane on Friday March 23, 2012 @05:27PM (#3747402)
I'm not sure what point you're trying to make here. Are you claiming I'm wrong or do you want me to do a google search for you?
Re:Poll: What's Your Favorite Programming Language? by aaronblohowiak on Friday March 23, 2012 @06:10PM (#3747607)
A google search may not be as insightful as someone talking about a trend in popularity for a specific niche (automation.) I think the poster was just asking you to share specifics that helped form your opinion.
Re:Poll: What's Your Favorite Programming Language? by ylem on Friday March 23, 2012 @05:20PM (#3747364)
I find that I'm rather productive in python for scientific computing and go towards C (or occasionally even fortran) when I need something faster. I also find that it has a rather shallow learning curve for students who come in knowing java...

But generally, I think it's good to pick the right language for the right domain. I keep trying to find an excuse to learn Erlang ;>

Re:Poll: What's Your Favorite Programming Language? by Estragon on Friday March 23, 2012 @05:39PM (#3747464)

  > ...go towards C (or occasionally even fortran) when I 
  > need something faster
Try cython next time.
Re:Poll: What's Your Favorite Programming Language? by TazeTSchnitzel on Saturday March 24, 2012 @08:44AM (#3749231)
Or PyPy.
Re:Poll: What's Your Favorite Programming Language? by slowpoke on Sunday March 25, 2012 @12:36PM (#3752989)
Since he's specifically saying that he does scientific computing, PyPy is not a good suggestion. Pretty much all of the codebases of the stack for scientific computing can not be used in PyPy, and this will most likely not change in the foreseeable future since porting them is non-trivial.

I'm not trying to talk down PyPy here, but for this domain of application, it's not appropriate at the moment.

Re:Poll: What's Your Favorite Programming Language? by evoxed on Friday March 23, 2012 @04:58PM (#3747248)
I'm not quite ready to cast my vote for Python, but this statement is so true. Basically all of my notes from planning stages as well as algorithms I'm looking at or working on... might as well already be in the interpreter.
Re:Poll: What's Your Favorite Programming Language? by fusiongyro on Friday March 23, 2012 @04:55PM (#3747235)
Python seems to have higher penetration outside career programmers. When I learned Ruby about a decade ago, there was this "Ruby shouldn't be your first language" sentiment. I think there's been progress on that front, but Python had an early lead.
Re:Poll: What's Your Favorite Programming Language? by srparish on Friday March 23, 2012 @05:05PM (#3747284)
Some language generate a lot more noise then others--the noise is not at all correlated to actual usage or popularity.