Live data from Hacker News

Poll: What's Your Favorite Programming Language?

news.ycombinator.com

171–180 of 626 posts

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

#171

Earlier quoted context omitted.

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.

With tools such as?

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?

#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 for you.

Where C# and .NET really shines is in its native integration and low level facilities. How many other tools in the world let you debug a mixed application containing both native and managed code, all in the same IDE and in the same session, with the ability to set breakpoints in either area, view values, do memory watch points, and so on?

It also feels so incredibly easy to call native code in C#. There's even a whole web site dedicated to making it easier, pinvoke.net!

Lastly, C# itself contains several performance-sensitive features that have no JVM equivalent, including value types, unsigned integrals, and unsafe code with raw pointers. The .NET platform even has an implementation of tail recursion , now, though the C# compile will not generate IL that uses it, which makes it inaccessible for most people.

When it comes to language design, C# is a little sloppy but it more than gets the job done. In terms of tools and low-level facilities for building a real-world application, C# on the Windows .NET platform feels absolutely world-class.

For my favorite language, I of course, voted for Scala!

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

#173

Earlier quoted context omitted.

Func is just the type signature they use for lambdas. The syntax allows fully inline functions now: () => { DoSomething(); } No return value needed (compiles down to an Action I think)

> No return value needed (compiles down to an Action I think) Which is an other crufty thing in C#: because Void/() is not a type (inherited from Java), it needs to have both `Func ` and `Action ` in order to handle functions-with-a-return-value and functions-without-a-return-value.

This is true, but its mostly transparent unless you're doing something particularly ugly.

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

#177
post #24
post #14

Earlier quoted context omitted.

Yeah, isn't it great that more people are backing a proprietary, closed source, Windows-centric technology? (As a pre-emptive strike, Mono does not make .NET any more "open". If Mono was maintained and supported by the same people that design the language/APIs I might change my tune.)

Well C# is a great language, that runs very well everywhere (thanks to mono). I wouldn't ever dream of using ASP.NET but C# as a language is pretty nice.

Asp.net MVC is fine. Webforms is a crime.

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

#178
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…

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?

#180
post #113

Earlier quoted context omitted.

Writing C# code in Visual Studio feels almost like telepathy. Intellisense is so good that, it nearly writes 30-40% of total code.

I felt like I was more of a configuration engineer than software developer when I was working in VS. If I got stuck I would just start typing and then hit ctrl+space and scroll through intellisense to get the options that seemed to fit.

I get that feeling with all modern software engineering. Intellisense and similar environments at least try to make it bearable.

How I long for the day of starting your project with only a blank document.

Post reply on HN