Live data from Hacker News

Poll: What's Your Favorite Programming Language?

news.ycombinator.com

181–190 of 626 posts

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

#181

Earlier quoted context omitted.

Definitely agree with you on C#. It feels like this is what a standard, mature, widespread language should be. There are other languages that are better for specific tasks, but for the general programming language, C# really hits the sweet spot in terms of features, expressability, readability, and environment. This is the language that Java should have been--could have been. Also, I dread getting asked on my next in…

whats the one thing you don't like about your favorite language That's easy. So many hacker types dismiss you as some sort of weirdo for favoring anything that came from Microsoft.

I don't dismiss C# developers, I'm just glad I'm not one anymore.

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

#184

Earlier quoted context omitted.

Eh, C# is good for the environment it lives in, but it's not without it's cruft. C#'s answer for all of its missing features seems to be a generic class. Don't have tuples? We'll give you Tuple . Don't have inline functions? We'll give you Func . It feels very tacked on (especially Func).

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)

Can't recursively call a lambda function, no thanks.

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

#187
post #146

Earlier quoted context omitted.

Eh, C# is good for the environment it lives in, but it's not without it's cruft. C#'s answer for all of its missing features seems to be a generic class. Don't have tuples? We'll give you Tuple . Don't have inline functions? We'll give you Func . It feels very tacked on (especially Func).

Try F# then, tuples, records, pattern matching, etc. It's essentially OCaml.net

Have used F# quite a bit. It's nice, the nicest ML I've used, but it has some cruft as well. It feels like 2 languages, really, the nice functional ML language, and then the C#-with-F#-syntax object oriented side. I wish they wouldn't have bothered with the latter.

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

#188
post #161

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.

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 ;>

  > ...go towards C (or occasionally even fortran) when I 
  > need something faster
Try cython next time.

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

#190
post #97

I see a lot of votes for python, but a disproportionately small representation of python fans in the comments. If you asked me a year ago, I'dve said python. But lately, I've been using Clojure for personal projects, and it's making python seem just... boring. (I get the same feeling when I write in Ruby too) The "one right way" paradigm is a great one, and the language is solid. The built-ins are top-notch, and whil…

If you don't mind my asking, as a Python person, how did you learn Clojure? I'm mostly programming in Python and JavaScript today, and I want to learn Clojure, but I keep seeing these very strange talks. I don't know how to articulate it, really. My best metaphor is, it feels a little like I wanted to go out and learn about Catholicism and they said, "oh, that's easy, we'll just have you sit in on a bunch of confessi…

I also switched from Python to Clojure. After picking up the syntax (there is almost none) I spent a few weeks reading the source of Ring by Mark McGranaghan [1] and constantly referring to ClojureDocs [2]. (My goal was to port Ring to Python [3], but after I did I realized I now knew Clojure and could just use Ring.)

[1] Ring: https://github.com/mmcgrana/ring

[2] ClojureDocs: http://clojuredocs.org

[3] Pump: http://adeel.github.com/pump

Post reply on HN