Live data from Hacker News

Poll: What's Your Favorite Programming Language?

news.ycombinator.com

381–390 of 626 posts

Re: Poll: What's Your Favorite Programming Language?

#381
post #261

Earlier quoted context omitted.

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.

Ruby is the language that Puppet and Chef (the 2 most popular configuration management systems) are based on.

The roles Puppet and Chef fill are small parts of "automation".

Re: Poll: What's Your Favorite Programming Language?

#382

Earlier quoted context omitted.

Legacy code is a problem in every language. Whether the language evolves, or just the common insights of how to use it best. In fact, C# deals excellently with legacy code. While, unlike the JVM, .NET is not binary backward compatible (allowing some excellent language improvements that Java still has not managed to pull off), it is nearly (but not entirely) source code backward compatible. Sure, this allows to old co…

FYI, Python has an automated script for migrating code from Python 2.x to Python 3.x

You should tell Django guys they should be thrilled to hear it.

Re: Poll: What's Your Favorite Programming Language?

#384
post #172

C# really feels like the most mature language that I've ever dealt with. Writing it feels clear, if something is wrong the debugger is very clear. The number of features that are there is incredible (especially post C# 2.0 when they added generics). Properties are delightful. How do you convert to a string? Convert.ToString(). How about an integer? Knowing only that one, it's what you'd expect! I also picked JavaScri…

I've spent most of my time in the open source world, and I would have to agree that C# on .NET feels like the most mature high-level software development tool I've ever used. C#'s biggest strength isn't the language. While the language is nice, there isn't a lot you can do with it in terms of productive development that you can't at least approximate in Java, especially with a good IDE to generate your boiler plate f…

One thing missing in terms of low level facilities is calling varargs cdecl functions. What has not been mentioned is that you can use C++/CLI to write .NET wrappers of native libraries. This is often even faster because you can use the libraries headers.

Re: Poll: What's Your Favorite Programming Language?

#385
post #261

Earlier quoted context omitted.

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.

Ruby is the language that Puppet and Chef (the 2 most popular configuration management systems) are based on.

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?

#386
post #261

Earlier quoted context omitted.

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.

Ruby is the language that Puppet and Chef (the 2 most popular configuration management systems) are based on.

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?

#388
post #374
post #164

Earlier quoted context omitted.

I agree in large, but there are some rough edges. -It's wordy. The var keyword was a step in the right direction, but there's still a lot of redundant type information, even compared to other statically typed languages like Go or F#. -Legacy code. A lot of things that are concise and easy in C# 3.5+ were possible but hideous in older versions. Sadly, that code must still be maintained. -Null handling. Like another co…

var foo = thing1 ?? thing2 ?? thing3 ?? bar; This will work.

"thing1 ?? thing2 ?? thing3 ?? bar" will return the value of the first non-null variable in the list. zmj wants something like Ruby's andand [1] instead.

andand negates the need for an explicit null check on each property in a property lookup chain, which would normally be required to avoid a potential NoMethodError or NullReferenceException.

You can create something similar [2] to andand in C# if you are willing to do property lookups using lambda expressions.

[1] http://andand.rubyforge.org/

[2] http://stackoverflow.com/a/4958550

Re: Poll: What's Your Favorite Programming Language?

#389
post #336

Earlier quoted context omitted.

No, he's thinking of Ruby. Puppet and chef.

What is the Python equivalent to Puppet and chef?

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?

#390
I voted for Clojure because so many of design decisions seem to be correct, but there's still plenty to complain about: unreadable stack traces. slow interpreter startup. meaningless function names in core.

I think I really want an immutable-data language that uses rubyish message-passing style.

Post reply on HN