Live data from Hacker News

Poll: What's Your Most Disliked Programming Language?

news.ycombinator.com

311–320 of 366 posts

Re: Poll: What's Your Most Disliked Programming Language?

#311
post #133

I chose PHP because it's gathers everything I hate about any language in one spot. * It has everything including the kitchen sink but nothing in the decor matches. There is no unifying principle to help you grok the language * The Community is all about quick hacky fixes to already broken code and this approach seems to flow from the core developers out. * It's not type safe, not even at runtime. I don't know if I ev…

"Golang has been pleasing me lately although it's interfaces have a very tiny hole in the type safety."

Go/Golang is indeed an amazing language -- my favorite, in fact, even beating out Python for my #1 spot. Go's creators guarantee its type safety; what hole do you speak of?

To hopefully assuage your concerns and to make an assumption about what you may worry is a hole in Go's type safety...

Empty interfaces allow one to contain _any_ value (such as a string) in an interface{}, but in order to use such a value, one must access the underlying type of the interface{} (i.e., the aforementioned string value). To do so, a type assertion is required, thereby preserving type safety... unless I'm missing something?

Re: Poll: What's Your Most Disliked Programming Language?

#315
post #217

Earlier quoted context omitted.

> I'm not that interested in programming, so I think it's a great language I think this sums up everyone I've met who actually likes PHP. They like that they are able to get stuff done, and look no further. It is just frustrating to those of us who know that PHP is one of the most poorly designed (and I use that word loosely) languages ever to be successful. If you can get over the local maximum of getting stuff done…

> I think this sums up everyone I've met who actually likes PHP. That says more about the people you associate with then with the language. The people I know care about programming, care about doing it well, care about elegant solutions, and care about a wonderful end product. What they don't care about are stupid language wars. > the grass actually IS greener in Python and Ruby land. I never got serious with Ruby, s…

> The people I know care about programming, care about doing it well, care about elegant solutions, and care about a wonderful end product. What they don't care about are stupid language wars.

I was just thinking this same thing. My background is mostly in PHP, C#, and more recently JavaScript.

Each of these languages is completely different from each other, but I haven't gotten to point where I curse the fact that one program is written in one language versus the other.

Each language has it features and pitfalls, but as long as you can accomplish the task you've set out on, I'm not sure that it really matters.

For example, I absolutely love the ease of passing functions around in JavaScript, but you can also make a real stinkin' pile if you don't structure things right.

Having used JavaScript, I find myself thinking about using delegates and anonymous functions a lot more in C# than I did before because I've seen the benefit of them in JS.

You can't tell a good programmer by their choice in language but in how they leverage that language to make awesome software.

Re: Poll: What's Your Most Disliked Programming Language?

#317
i used to hate javascript a lot. but then jquery came along and changed everything and i know i'm not the only one who feels this way about javascript.

this goes to show just how easily a well-written framework can change the whole perspective on a language.

another good example is ruby, i doubt ruby would be this popular if it wasn't for the rails framework.

one language that i do like at a glance but haven't had the experience is python. seems to me like it's the easiest language to learn (especially easy on the eyes, good readability) and it's not a surprise why people like it the most here on HN. but one being gripe about python is that it really is a pain to get the environment setup. i've had a friend who worked a backend-piece for me written in python 2.6 and i had a chance to setup the environment first-hand myself to get it working and i must say it wasn't really a pleasing experience. i'm not sure if he just does "things" differently or not but he told me that i need to setup python in it's own container to not conflict with system python because the one he was using was a different version of python. not only that, the pain i saw really came from him having to load a plethora of modules to just get his app work (like modules just to convert decimals?). when it comes to portability and readiness out of the box to start working, i think python still has some ways to go.

Re: Poll: What's Your Most Disliked Programming Language?

#318
Java got the vote from me, not because I hate it, not because it's a bad language, but because I use it every day.

There is so much that is good about Java language which I take for granted after working with it for years and yet, given my daily use of it, I see the things that it is sorely missing. I'm a huge fan of Clojure, and have worked with JavaScript a lot too... and in the end I gnash my teeth at Java for lacking immutable data structures and lambdas/first-class functions. If/when these two items become parts of the Java language and JDK, Java will be a language which I (again) find a pleasure to use.

Re: Poll: What's Your Most Disliked Programming Language?

#319
post #217

Earlier quoted context omitted.

> I'm not that interested in programming, so I think it's a great language I think this sums up everyone I've met who actually likes PHP. They like that they are able to get stuff done, and look no further. It is just frustrating to those of us who know that PHP is one of the most poorly designed (and I use that word loosely) languages ever to be successful. If you can get over the local maximum of getting stuff done…

> I think this sums up everyone I've met who actually likes PHP. That says more about the people you associate with then with the language. The people I know care about programming, care about doing it well, care about elegant solutions, and care about a wonderful end product. What they don't care about are stupid language wars. > the grass actually IS greener in Python and Ruby land. I never got serious with Ruby, s…

OK, how about I rephrase to:

> I've never seriously learned a second language, so I think it's a great language

Do the people you know have experience with other comparable* languages, and still think PHP is a well-designed language and platform?

I concede that the PHP community, and PHP itself, has dramatically improved in the last few years. PHP 5 is a revelation compared to PHP 4.

[*] i.e. not "The other language I know is C, and I love that PHP is so high level!"

Re: Poll: What's Your Most Disliked Programming Language?

#320
post #217

Earlier quoted context omitted.

> I'm not that interested in programming, so I think it's a great language I think this sums up everyone I've met who actually likes PHP. They like that they are able to get stuff done, and look no further. It is just frustrating to those of us who know that PHP is one of the most poorly designed (and I use that word loosely) languages ever to be successful. If you can get over the local maximum of getting stuff done…

I don't know if this counts as meeting, but I consider myself a developer that is interested in programming, doing things right, etc., and I like PHP. I see PHP as a language comparable to English. Both languages have a bunch of inconsistencies, peculiar idiosyncrasies, a humongous base of speakers/users, etc. In both languages, a lot of what people write is not of high quality, but writing high-quality stuff is cert…

I agree that PHP is an incredibly useful language; that code written in PHP can be of very high quality; that PHP is a very valuable language (because every host supports it, and most popular content management systems must be extended using it).

What I don't think it is, is a well-designed one. It could have been all of those other things, AND a well-designed one, it just wasn't. I think it's a shame if a generation of web programmers come of age thinking that the warts of PHP are inherent to all programming languages. (I myself once felt that way about ColdFusion, since it was the first language I learned and everyone I worked with also only knew ColdFusion.)

Post reply on HN