Live data from Hacker News

Poll: What are your liked and disliked programming languages?

news.ycombinator.com

191–200 of 479 posts

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

#191
post #6

And the award of least significant poll of the week goes to... Seriously, you won't get anything meaningful out of this, people will vote for the language they like and then bash the usual suspects (PHP, actionscript, C++,...). Also they will browse the first 20 entries or so and then get bored and skip to the end. I'm sure the people who "dislike cobol" (7 people at the moment) have intimate knowledge of the languag…

Just curious, why are people bashing Actionscript? The language itself is based on Javascript and Javascript isn't getting so much hate. I know everyone hates Flash now... maybe I just still have a soft spot in my heart for programming Flash-based games back in the day.

The same reason everyone was down on Javascript 10 years ago: The development tools, APIs, and runtime were unpleasant. Unfortunately for flash developers it doesn't look actionscript will be following in Javascript's footsteps.

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

#192
post #87

Earlier quoted context omitted.

>C#: Microsoft Mono, XSP, Xamarin, etc. make your argument pretty much moot if you set up properly. C# is an ECMA standard, most of the C# source code is open source or is being open sourced, and there is a large and active open source C# community. This may have been true 5-10 years ago, but if you're really super anti-MS, you can still use C# today. It's a fantastic language with fantastic libraries. Disclaimer: I'…

Some colleagues of mine work on a C# windows app - I thought I couldn't help them out, as I use Linux. Maybe I can though, based on what you're saying. Can I take a C# project targeting Windows, develop compile and developer-test on Linux, then second test and deploy to Windows?

Also, the goal is the make the Mono VM binary compatible with .NET apps compiled on windows. At the very least I'm able to get basic ASP.NET projects up and running by compiling on windows and copying the bin directory to the Linux machine and starting XSP4. Like i said though, i was unable to get forms authentication working due to a few methods not being implemented yet on Mono for forms auth.

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

#193
post #186
post #6

And the award of least significant poll of the week goes to... Seriously, you won't get anything meaningful out of this, people will vote for the language they like and then bash the usual suspects (PHP, actionscript, C++,...). Also they will browse the first 20 entries or so and then get bored and skip to the end. I'm sure the people who "dislike cobol" (7 people at the moment) have intimate knowledge of the languag…

My thought exactly. Actually I was think - "geez, these people are such hipsters". Everyone loves the "cool" languages - Scala, Haskell, etc. But of course the lame languages suck (Java). Though I was pleasantly surprised to see the love for C#. It's a very nice language and you'd think being from MS it wouldn't be "cool".

And who can't love VB for getting shit done (at least back in the day). Though I can see if we are just focusing on the language.

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

#194

Earlier quoted context omitted.

Just curious, why are people bashing Actionscript? The language itself is based on Javascript and Javascript isn't getting so much hate. I know everyone hates Flash now... maybe I just still have a soft spot in my heart for programming Flash-based games back in the day.

Based on the numbers that I see, JavaScript is disliked more than ActionScript. When you take into account people's general dislike for anything flash related and how few people know anything about the language I think it did ok. What would be interesting would be to see a poll of the different versions of ECMAScript proposals and see what the public thinks of the real language differences between each. Classes are c…

Classes without any kind of type checking are worthless imho. I would have prefered implicit interfaces instead of classes.

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

#195

Saddened to see a high number of ColdFusion dislike votes. As a CFML developer who routinely bears the brunt of gleeful derision, allow me to point out what you're missing out on. Yes, ColdFusion was a bit awful in its early days, but to be fair, it was pretty much the first of its breed, predating PHP, JSP, and ASP. Modern CFML is a JVM-native language and framework that runs in a Java servlet engine. There are thre…

As someone who has only associated cold fusion with people laughing, thanks. I'll be sure to look into as an option before I start my next side project.

To be fair, I'd only actively recommend CFML if it fits your requirements -- if you want something hackable like PHP, perhaps the flexibility of being able to load and use any old Java library, and don't want your language to be opinionated on client side frameworks.

Otherwise I tend not to recommend, mostly because there's a lot of old bad CFML code out there, and it's frankly embarrassing.

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

#196

I'm surprised at the current number of likes/dislikes for Lisp and Scheme. Most of my work, including at home, work and in the past at school, was in C, C++, Java, Perl, Python, SQL and some mixes of Shell and other minor dabbling in other languages. I had some exposure to Lisp in school way back when, and had to do some work in Scheme. I hated it. Strong dislike! So what was I missing? It seems these have a strong f…

"I had some exposure to Lisp in school way back when, and had to do some work in Scheme. I hated it. Strong dislike! So what was I missing? It seems these have a strong following compared with how widespread they are."

I can say that Lisp made my current project possible, given the timeframe we had and the requirements. Here are a few things that make Lisp fantastic:

* Flexibility/expressiveness: you can compose things as needed, without being held back by syntax rules. Here is a simple example, which is a bit silly but which illustrates the point:

  (if (defun foo (x) (+ x 5)) 'yes 'no)
That is an "if" statement that follows the "yes" branch if the function is compiled without errors, and follows the "no" branch if there is an error. A bit pedantic, but let's put it this way: good luck doing that in C, C++, Java, or even Python.

* Error handling: What happens when you are writing to a file, but you run out of disk space? In Java and Python, you are out of luck: an exception is thrown, and now you have to pick up the pieces. In C or C++, your code needs to be littered with conditional statements that check if your I/O operations are successful. In Common Lisp, however, we have the restart construct, which allows the thrower of an exception to set up recovery routines that the handler can invoke. The top-level exception handler can present the user with recovery options, so for something like running out of disk space, the user might delete some files and invoke a restart that continues the I/O -- and the programmer need not clutter his code with routines for restarting the operation.

* Serialization is free. Kind of a pedantic point when you have things like Pickle, but it is even easier in Lisp -- no libraries needed. The caveat, though, is that some data cannot be serialized so easily, like objects in CLOS, but the metaobject protocol in most CL implementations solves that problem (A MOP are strangely absent from the Lisp standard, but most implementations include one anyway).

* Macros. When all else fails, macros are a lifesaver. Macros in Lisp have all the power of the Lisp programming language itself, at compile time -- so everything mentioned above is equally applicable. There is a strange recursive phenomenon to this argument: when all else fails in macro writing, you can create a deeper level of macros (it's macros all the way down). Macros are the reason for Lisp's unusual syntax, by the way: Lisp programs are written in a way that makes it easy for a macro to operate on a Lisp program.

Now, there are certainly things I do not like about CL, like the lack of any portable support for static typing (even an optional static type system), the poor collection of standard data structures, and the lack of support for modern things like sockets, threads, etc. Fortunately there are a lot of freely available libraries for such things, but a new standard that included them would be nice.

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

#197
post #176
post #149

Earlier quoted context omitted.

Used WPF a couple of times, not that bad at all? What exactly do you think can be improved? Are there alternatives to it?

For me, WPF isn't the problem. I love MVVM, data binding, etc. The problem is XAML. More like FML, amirite?

myeah it's a bit messy sometimes. But I yet have to encounter an UI design system that isn't? (ok, didn't try that many, and for example Labview is pretty nice since it gives you a working GUI with tons of features in no time, but for backend it's a disaster)

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

#199
post #144
post #65

Earlier quoted context omitted.

Last week i had to create an Android App generator that takes a json manifest and generate Java Models,ContentProviders,activities,resources,unit tests for each Sqlite table in my app = 4/5 hours of work in PHP. days of work saved each time i need to bootstrap an app. This week I needed a command line script that optimizes image files for different form factors = 30 minutes of work in PHP I needed the first script to…

If that is your point, than you really failed to support it. Obviously you can do stuff in PHP. You could have done all that stuff in any scripting language. The closest thing to a benefit you listed was "we already had PHP installed on a server". If that is your best sales pitch, you should stop trying to sell it and let others take on that role.

My point was speed of development deployement,but you're not smart enough to get it whatever language you use.

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

#200

Earlier quoted context omitted.

I would have done that for XSLT if it had been on the list.

Forgive my ignorance, but I inherited a wad of xslt fairly recently, and it seems frustrating and verbose to me. What do you like about it? Can you point me to some examples of good code?

One thing about XSLT is that when it is bad it is really really bad.

It can be fairly elegant, especially if you know the difference between apply-templates and call-template and are happy with all of the feature of XPath. But I suspect that is fairly rare....

Post reply on HN