Live data from Hacker News

Poll: What are your liked and disliked programming languages?

news.ycombinator.com

241–250 of 479 posts

Re: Poll: What are your liked and disliked programming languages?

#241

What's Shell? If you mean Unix/Linux shells, you should have picked a couple, or just used Bash, because many people would upvote one shell and downvote another. Csh, Bash, Zsh are completely different when it comes down to what you like or dislike.

I like Fish. I dislike Bourne Shell. There's no way to express this.

Re: Poll: What are your liked and disliked programming languages?

#242

Regarding the language itself, what's there to dislike about C#?

It's almost impeccable at what it's trying to do, but I can think of a couple of things:

* References are nullable by default (IIRC Hejlsberg himself would do this different if he could)

* Its C-derived brace-heavy syntax can make C# code a bit messy-looking and stretch out a bit vertically, especially with the community's preferred brace style

Re: Poll: What are your liked and disliked programming languages?

#243
post #63

In my very uninformed, and novice opinion, which you should entirely disregard, it is my probably incorrect estimation that the Rust developers are in maybe over their heads. I don't like saying negative things about an interesting idea, good engineers who mean well, so I don't like this so please someone convince me why I'm wrong. A few things: The multiple ways to manage memory seem completely messy to me, the vari…

I can't speak to the reference counting and garbage collection libraries (which are likely the items to which you are mainly referring), but I found Rust's approach to the more mundane memory management scenarios to be enormously refreshing.

When writing Rust, you simply tag those variables that the current thread of execution is responsible for free()ing when they go out of scope. The compiler enforces correctness and can tell when you've tried to use a variable that's no longer available. There's no such thing as an invalid memory reference and so long as you avoid using a GC library, there's no overhead whatsoever. When the compiler's happy, you can rest assured that your program is free from entire classes of subtle bugs that can lie in wait for years before you get your first segfault.

The Rust team has admittedly put very little time into optimizations at this stage. However, Rust's manual memory management combined with LLVM's existing optimizations have put its performance on par with C in several (simple) benchmarks. In others, it can be found somewhere between C and Go. That's quite a feat for so young a language.

Forgive my gushing. I'm very excited to finally have C speed and high level language features without segfaults.

Re: Poll: What are your liked and disliked programming languages?

#244

Earlier quoted context omitted.

To be really honest, a Lisp programmer doesn't really see that many parens in his code. And clojure doesn't even have those many parens. Maybe its just me, but I have only seen those who haven't used Lisp complain about too many parenthesis.

As I mentioned, but you still downvoted me, I didn't downvote lisp. I have used lisp - required to use it in a course. And I do recall seeing that many parentheses in lisp programs. I recall seeing that many parentheses (and curly braces) in C, C#, Java, Javascript, Perl, Scala, groovy, PHP, and other programs, too. Let's not pretend they don't exist though.

I do not downvote people people for expressing their opinions. Also I doubt if I have enough karma to do that. Someone else did. :)

What I meant was, Lisp programmers usually learn to ignore the parens. When I look at a Lisp code, I just see indentation and code. Your eyes train themselves to do that. Also I have never found excessive parens to be an issue at all. But like I said, maybe thats just me.

Re: Poll: What are your liked and disliked programming languages?

#246

Funny, I'd say I like functional programming... and yet I disliked all the functional and/or lisp-like languages that are the bees knees these days... Scala, Scheme, Clojure, Haskell, F#, ... All of them have neat sides, but I'm not really productive in any of them. There are things like too-clever type systems that get into your way, instead of catching errors. Constness can be silly in C++ if you are not careful, b…

That's because having + perform a non-commutative operation like string concatenation is an abomination.

Re: Poll: What are your liked and disliked programming languages?

#247
Damn Java has a 1:2 like to dislike ratio. Why do people hate on Java? I'm totally biased because it is the first language I learned and I use it daily but seriously, why the dislike? It is powerful, portable, stable, hard to shoot yourself in the foot with, and tons of standard libraries. Also the libraries (standard or 3rd party) rarely violate the rule of least surprise. I can nearly always guess the right way to do something if I don't know about an object in a library.

Sure it has warts like all other languages -- memory hog, weird design patterns, bulky code -- but a lot of those can be easily avoided or worked with.

Sorry for the rant. I've just never had someone give me a straight answer as to why Java is so disliked. It usually has something to do with design patterns (FactorySingltonParentFactory.helper.blahblahblah) but that's just preference and is hardly the common case with Java code.

Re: Poll: What are your liked and disliked programming languages?

#248
post #5

What is it about CoffeeScript that people don't like?

Most of the time, it's easy to ignore programming languages that you aren't familiar with. In day to day programming life, you're not going to be running into many examples of Eiffel, or Dylan, or D or E, in the wild. So you're not going to feel very strongly about them, either pro or con. For better or for worse (I think for the better), CoffeeScript is fully interoperable with JavaScript. The runtime characteristic…

I frequently experiment with new programming languages (go, Rust, others) and I like Dart and have tried it. That's significant evidence that I'm not close minded. However CoffeeScript was at least for me the first of its kind, so maybe my negative perception has stuck with it unfairly. I do find it hard to read, but I'll tell you what I'll give it a try. :P
Post reply on HN