This voting scheme is known as "single-vote-plurality". And it's a giant suckfest. Beyond two candidates, it completely falls apart, and tends to suggest very different results than the actual preferences of the voters. Hypothetical example. Let's say that 1/4 of HN likes C, then Lisp, then Python, then Java. 1/4 of HN likes Python, then Lisp, then C, then Java. 1/5 likes Lisp, then C, then Python, then Java. And 3/1…
Poll: What's Your Favorite Programming Language?
331–340 of 626 posts
Re: Poll: What's Your Favorite Programming Language?
#332Earlier quoted context omitted.
Your list basically boils down to "C# isn't ". Which is fair of course, but most of your list wouldn't really make sense in C#.
Why would sugared destructuring not make sense in C#? Or first class events and delegates?
For the simple case of say, destructuring a tuple, that could work well: a, b = ReturnsATuple(). But anything more general would just seem tacked onto the language.
But then again, tuples don't really fit well in C# either! Tuples are only useful if you don't have to declare their types, ever. Without full type inference, nothing is saved by using tuples over, say, an inline object.
I don't understand the significance of first class events, so I can't really comment on that. And as far as I know, delegates are first class now with the inclusion of lambdas.
Re: Poll: What's Your Favorite Programming Language?
#333Earlier quoted context omitted.
I couldn't agree more. In fact, that is my single biggest problem with being a C# developer. Sounds counter-intuitive, right? Each time I dive into another language, I feel handcuffed because I don't have the features and options that I get from Visual Studio. Once the "new language smell" has worn off, I find myself wishing for faster ways to develop sections of code. I miss instant code compilation and validation.…
Amen, I almost totally jumped ship when MVC was a 'new' thing, if they hadn't brought out ASP.Net MVC when they did I would have left. The only thing I hate about C# is the 'magic' they keep trying introducing to the frameworks. ASP.Net was bloody awful but if you haven't checked out MVC 4, this is truly WTF were you thinking MS: http://www.asp.net/web-api/overview/getting-started-with-asp... GetAllProducts magically…
(I do agree with you though - just because other frameworks have magic bits doesn't mean I like it in MVC. I would also prefer it not be there. I just don't think you can really pick on MS in this case.)
Re: Poll: What's Your Favorite Programming Language?
#334Python for when I'm "thinking in code", or doing data analysis that's not too performance sensitive (NumPy). I probably enjoy Python the most. Ruby for when I'm doing configuration management or occasional webdev. Fortran for when I'm doing serious computation, C for when I'm trying to do something fast that isn't number-crunching. (Though I'm trying to learn Go for that.) And a smattering of other languages (Perl, s…
I was under the impression that Python/Ruby were pretty much interchangeable. In what situations do you chose one over the other?
In general I find that Python is the easiest language for me to "think in", syntax-wise. It is almost pseudo-code in its simplicity, and I like that it has extremely powerful namespaces. It also seems to me that it's easier to write programs in Python which ignore object orientation in favor of a more functional style, than it is in Ruby. I'm slowly falling out of love with OOP, and Ruby loves its objects.
I also really like Python's libraries for numerical and scientific work. For whatever reason, Python took off in the scientific community, and it's got libraries like NumPy and SciPy which I haven't seen duplicated in Ruby. It's also easy to integrate with existing Fortran and C libraries... and if you've done much work with Fortran, you know that it might be blazing fast but it's not the most pleasant thing to work in. Much nicer to glue it together with Python. :-)
Where Ruby shines for me is in its libraries for server configuration and web development. I like Python's webdev libraries, but I still find it easier to work with Rails or Sinatra than with Django or Bottle. I also think that Chef is one of the best things ever for managing servers in a programmatic fashion, and for that you need Ruby.
Re: Poll: What's Your Favorite Programming Language?
#335Earlier quoted context omitted.
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…
> 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 There is no substitute for lambdas :)
Re: Poll: What's Your Favorite Programming Language?
#336Re: Poll: What's Your Favorite Programming Language?
#337Earlier quoted context omitted.
No, it's more like the IDE is augmenting your brain and fingers. The code comes out readable, but you only have to type a fraction of the characters. It's a code-writing assistant robot. Also, it makes APIs incredibly discoverable. Not sure what a `IQueryable` provides? IQueryable iq = null; iq. and scroll through the popup. Instant one-line descriptions are available in the tooltips, and you can get full documentati…
That doesn't sound all that good to me. My steps to finding what IQueryable provides: * Cmd+Tab to Chrome * Cmd+L for location focus * \IQueryable searches DuckDuckGo for IQueryable and takes me to first result I get to use the editor I want (hint, not visual studio), and I know a lot more about IQueryable anyway and can continue poking around in the docs to learn more about the 'nearby' bits of the API. I don't real…
"That doesn't sound all that good to me. Here's how I do it in multiple steps, in a different window!"
Do you see the problem here?
Re: Poll: What's Your Favorite Programming Language?
#338Earlier quoted context omitted.
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…
How is this C#+.NET integration on mono? Are the relevant low-level facilities translated well into linux or osx?
Re: Poll: What's Your Favorite Programming Language?
#339Earlier quoted context omitted.
> 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 There is no substitute for lambdas :)
Luckily C# supports them: http://msdn.microsoft.com/en-us/library/bb397687.aspx