Live data from Hacker News

The Best Programming Language (or How to Stop Worrying and Love the Code)

blog.fourthbit.com

91–100 of 166 posts

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#91
post #85

Regarding the Go vs. D argument and Google beeing behind Go, Facebook seems to be using D http://www.drdobbs.com/mobile/facebook-adopts-d-language/240...

It seems that every week I seen a new "Facebook is using XYZ" article. Is there a language Facebook isn't using at this point?

Assembly Probably?

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#92
post #59

Earlier quoted context omitted.

Your point?

His opinion is biased and he doesn't know what he's talking about.

Of course he is. He even admit it. It's on the second paragraph

> you can’t really be objective. So yes, I’m biased.

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#93
post #13

Some nice angles in the article, but now I feel obliged to defend C++ (and actually C# and F# too, but I'll let that to others as I'm sure it will turn up in the HN comments) since the author seems to make no real points to support his view of it as a monster. First of all, it's not because x [1] and y and a bunch of others say that "a == true", you can safely use it as a fact or a way to support your view (those log…

i guess maybe now is a good time to repeat this request - does anyone know of a good, recent book that describes how to write correct, modern c++ using the latest standards and staying with the subset of the language that expert users recognise as elegant and powerful?

Tour of c++.

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#94
post #12

Based on the code snippet, I'm not surprised he thinks C# is "verbose" with "lots of boilerplate" and "resembles Java", because the snippet is written as if it WAS Java, or at least written 10 years ago. Compare his GetFrequencies implementation with idiomatic, LINQ version: http://pastie.org/8834650

BUT IT ISN'T SEXY ENOUGH!

Yeah that's a good one as well.

Like F# classified as one of "unreasonable langauges" on the basis that "we have enough company-sponsored languages already"

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#95

Have you ever seem a simple Prolog program solving the 'four coloring problem'? Try programming that in anything else. Prolog or something similar like Lisp with pattern matching is the tool of choice for speech recognition programs. Why these tools get dismissed in a world of tablet devices using Siri or Google is beyond me.

I think prolog gets a bad rap because people don't spend the time to learn how it really works and how awesome it really is. More than matching which you can get in most functional languages, non-determinism from prolog makes solving all kinds of problems (four coloring included) elegant and simple. If prolog had more of a community behind it, I think it would move up that list pretty quickly.

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#96

If you actually want to make things you'll still can't avoid learning C, C++, Java and/or Objective-C. Other languages just don't offer a broad enough ecosystem.

You can get very far with Ruby or Python before having to learn a bit of C for extensions. I've been using Ruby for years and I've yet to run into a situation where I need it, though admittedly I stick to web stuff.

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#97
post #83
post #64

Clojure is definitely __NOT__ a sibling of Scala. Being a sibling of scala would mean that it is something like C to C++ or Java to Ceylon.

It's a half-sibling, since they share a parent (JVM).

More like roommates, because they share a house.

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#98
post #19
post #12

Based on the code snippet, I'm not surprised he thinks C# is "verbose" with "lots of boilerplate" and "resembles Java", because the snippet is written as if it WAS Java, or at least written 10 years ago. Compare his GetFrequencies implementation with idiomatic, LINQ version: http://pastie.org/8834650

I completely agree. After having used C# extensively recently, and having used quite a lot of Java before that, I have a feeling that C# is what Java should have been/should be. LINQ alone makes C# infinitely less verbose and 'boilerplate' than Java.

Yeah, having done a little C#, my impression was "They aimed for 'a better Java' and mostly succeeded."

Re: The Best Programming Language (or How to Stop Worrying and Love the Code)

#99
post #33

Please check your facts before posting to avoid being a clueless moron: C# is not just a static language it supports dynamic typing, C# is not just an object-oriented language it's a functional language as well. The post is downright offensive to C# developers. EDIT: ok, I figured it out - it's a troll post to stir the HN community a bit. Lot's of other good languages get undeserved bashing.

C# is most definitely not a functional language. It has a few functional constructs, and it's possible to (painfully) code in a superficially functional style, but a "functional language" it isn't.
Post reply on HN