996 points · by wting · 13y ago · 463 comments
https://news.ycombinator.com/item?id=3746692
https://news.ycombinator.com/item?id=3748961
That resulted in this chart: https://i.imgur.com/toGKy21.jpg
Since that poll is ~18 months old, I thought an update is in order.This poll also adds a few new choices: F#, Go, R, and Rust.
Vote as many choices as you'd like.
Note: By voting for a language you are not up voting this poll. Please up vote this poll to keep it alive.
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 language in production in order to cast such a vote.
It's just a popularity contest and a bad one at that.
Also: "Other - Dislike: 5 points". Enough said.
I think it's perfectly reasonable to dislike a language you've never used. You can't claim it's a "bad" language (for reasons perhaps even above not having a definition for "bad") but I can't claim that you don't dislike it.
Everybody talks and nobody listens. It's just pointless popularity contest.
Which only a complete moron would do.
Based on this poll Java is not cool and most likely doesn't offer real advantages...
I personally think that I'd maybe prefer not to work with someone who likes (and argues) for languages due to fashion... but I'm also a by-day-and-night Haskell developer, so I imagine that invalidates my opinion in some ways.
I'm not arguing for monoculture but it's a bit sad to see isolated communities not working together.
Haskell is an example of a language which a good reason to exist: solid unique PL qualities and is also highly applicable to specific problems.
However I still think Java and C are really good languages. I appreciate the niceties of both strongly-typed compiled languages, along with the 'coolness' factor of the dynamic languages.
It's persisted - absurdly - in spite of those crippling issues.
2/ Because most people (myself included) don't know actionscript but think Actionscript == Flash and downvote based on that.
Not now: AS has an 84% dislike rate to JS' 39%.
And on top of that, its libs are very callback-heavy even in places where a synchronous option should have been available, so even very basic sequential code sometimes gets turned into a messy chain of callbacks.
That's why I made a beeline for the "ActionScript - Dislike" button.
It certainly has a hell of a lot more error checking going on than something like JavaScript by the virtue of being a statically typed language first with dynamic stuff second.
That's not to say that obscure bugs don't exist in the runtime as with every other runtime ever, but don't misrepresent something you don't seem to be well versed in.
Lisp doesn't claim to be better (it is often argued that it's worse). But what Lisp does right, it's meta programming, therefore letting the plain programmer improve the language himself.
So while as you suggest, all programming language will have warts and stumbling blocks, possibly deal breaker problems, that you can't do anything about, in Lisp, you can always and usually very easily overcome them yourself, with a little meta programming.
Lisp is not the best programming language, but what you make of lisp is the best programming language for you and your domain.
Why do you insist that is not meaningful? Of course they will vote for the language they like, that is the purpose of the poll. Obviously people can vote from ignorance, but that goes both ways. Just as some people "dislike" cobol despite a lack of experience with it, so too do people "like" PHP despite a lack of experience with it.
This is not a pool for finding what is the "Best Language" (best language for what ?), but a pool to find what languages programmers like or dislike.
That is a matter of personal taste and opinion and there is not a wrong or a right answer.
Obviously if you have never seen or used or looked at the language you shouldn't vote on what other people say, but you don't really need to know the ins and out to make a personal decision.
Why would I need to browse down the list? Nobody here has used every language in existence. You hit ctrl-F and cast your vote on your favorite and least favorite.
The poll quantifies a community's thoughts as only the vocal minority comment while the majority lurks. It provides a snapshot for comparison with other communities or even to Hacker News 18 months ago.
Language threads will provide more insightful commentary, but a general poll is useful for macro trend discussion.
- The .NET Framework is a straightforward way to solve a problem vs pattern oriented solutions. This is not about the programming language itself but how the people in that community think about a problem
- C# evolved more than Java and it was more pragmatic. There are no operators in Java.
- I really like the diversity and maturity of third party Java libs. That's why I use IKVM when I need to use a lib from Java in .NET and why I use Jython. Examples here: http://blog.databigbang.com/tag/ikvm/ and here: http://blog.databigbang.com/tag/jython
I don't like Javascript, I would like to replace it with a standard VM to run other programming languages like Python.
I like C++ for performance oriented applications and when good libraries are available. For example I like CryptoPP.
I like Objective-C and their additions like Grand Central Dispatch. I like XCode.
I love Python: it's straightforward to build stuff.
I don't like PHP but many times I prefer to build some web scripts using PHP.
I like Pascal for teaching algorithms. More than C, because is less ambiguous.
I don't like C anymore except for firmware.
For example: I had a DataGrid, and I was trying to figure out how to respond to the KeyUp event on a specific row, but only when it was the Delete key. I ended up having to create a custom dependency property in order to do that. 80 lines of code and a new class with 7 members later, I was able to reference that in my view and connect it to a method in my viewmodel. It works, but my lord it took me hours of googling and trying different things out for what seems like should be very simple functionality.
The problem is XAML. More like FML, amirite?
* It can be really clumsy to get programmatic hold of anonymous controls like buttons inside of list items
* Styling is clumsy
There are plenty of people who overengineer their .NET solutions. They wouldn't dream of starting a project without including the Unity Application Block, for example. It may be a symptom of Enterprise Syndrome rather than a specific language community.
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 three first-class from-scratch implementations, two of which are fully open source. To cut a long story short, the best one is called Railo, and yes, it's one of the open source ones.
Modern CFML running on Railo is an awesome environment to work in: PHP-like hackability, native JVM performance, first-class java library integration, all on a 100% pure open source software stack. Think of it as JSP for genuinely rapid development.
I swear if Railo wasn't associated with the stigma of ColdFusion, it would be up there in the pantheon of fashionable web languages. It's Groovy with batteries included. It's Ruby On Rails for people who wish their code ran faster and realise that ORMs are inherently stupid. (Or there's Hibernate integration for those who haven't realised this yet.)
As I write this there are about 2200 votes apiece for both PHP and Python, two languages most people will have an opinion on, so lets make an assumption that's somewhat representative of the voters to date. Also at the moment there are 500-ish down votes for Coldfusion. From my experience it seems suspect that 1 in 5 developers, or even 1 in 6, has worked with Coldfusion enough to have an opinion on it outside of external influence. This type of trend probably also applies to other languages, in both directions.
That said, on Coldfusion, it's far from perfect but it also gets a pretty unfair judging in my personal opinion. Just my 2c.
That's quite the claim... Care to expand on why you think ORMs are "inherently stupid"?
Turning a powerful SQL database engine into an object storage emulator is just sad.
If your underlying data suits objects better than sets, consider using something that's designed for the job, like one of the many non-SQL database systems.
Although it may seem trite to say it, Object/Relational Mapping
is the Vietnam of Computer Science. It represents a quagmire which
starts well, gets more complicated as time passes, and before long
entraps its users in a commitment that has no clear demarcation
point, no clear win conditions, and no clear exit strategy.
http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Compute...Well worth reading.
Also:
http://database-programmer.blogspot.com.au/2010/12/historica...
http://www.codinghorror.com/blog/2006/06/object-relational-m...
We now have built-in support for data (sets) manipulation in C# and Entity Framework makes things like db.Customers.First().FirstName with syntax support totally real. Many of the premises these essays seem to be based on (like "the languages in play lack any real specialized data structures") are just not true anymore.
Also, I would like to know more about why using an ORM like EF would force me to "have an incredibly stupid schema".
Now that I can agree with, but I would consider that to be a (subtly, perhaps) different position than:
"ORMs are inherently stupid".
IF you have the option of choosing a native object store for persisting objects, then - by all means - choose it. But in cases where an RDBMS is the data store of choice for whatever reason, and you still have to store your objects there one way or another, I'd prefer using an ORM like Hibernate over hand-rolling all the low-level SQL/JDBC code to marshall objects back and forth between the DB.
Not saying you can't get work done with them, but it does mean that they're likely to leak.
The thing I don't like about ORMs as they are typically handled is that you map objects to tables up front, and those are the things you can query for.
Using something like Linq, you can more easily treat your database as relational, and still return strongly typed objects. These objects can be the thing you wanted to return from the query, which is not necessarily mapped directly to the entities in the database.
I like this approach more, since you still get one of the main advantages of a relational database: you can get the data in the shape you want, not in the shape it's stored.
[1] https://news.ycombinator.com/item?id=6519175 [2] https://news.ycombinator.com/item?id=6519743
Otherwise I tend not to recommend, mostly because there's a lot of old bad CFML code out there, and it's frankly embarrassing.
No seriously. For everything good about a language there's usually something that's not so good and is completely frustrating. That's why there's so many programming languages, they're all awful and excellent at the same time, asking a favourite is like saying 'do you prefer being hugged whilst on fire, or being hugged by someone on fire'.
A few things:
The multiple ways to manage memory seem completely messy to me, the various ways to box values and what not and what the implications are. It's not pretty, it's not elegant, but then sometimes things aren't. I'm complaining about prettiness over usefulness somewhere else in this thread. But the box memory model thing left me feeling like it was a convoluted solution that could end up in confusion.
No SSL stuff. Not much encryption stuff. And worse of all in their mozilla IRC channel those guys said writing such things should be left to experts, that people should always use the C libraries with rust. Being able to make HTTPS requests would be a pretty important feature for a browser like Servo I'd think. It's true security features should be vetted, and cryptography requires expertise, but on the other hand look at Go. They wrote a lot of their own cryptography code in go, and it seems to work pretty damn well.
The pace of development. Given the state of the network io library, the many packages required to get to a useful state, it seems like it's going to be about a decade or so before Rust is even usable. Which is fine, it's not a race. But overall I just get the feeling that I'm not sure Rust is what it aspires to be.
Anyway. I hope Rust does do well. I like the idea, I like the people working on it. Maybe I shouldn't have committed to forming any kind of opinion still so early in its development.
Rust is also the only industry language I'm aware of that gives you memory safety without garbage collection. We have some changes in the works to reduce the cognitive burden of the pointer types before 1.0 (most notably putting GC in the library).
If you firmly believe either (a) memory safety is not worth it or (b) garbage collection is superior to manual memory management in all circumstances, then Rust is not for you. That's fine! I don't want Rust to be the end-all-be-all language for all projects, and I love language diversity. But it's precisely this feature—low-level, runtimeless programming without segfaults or memory-related security vulnerabilities—that makes a lot of people interested in Rust.
> No SSL stuff. Not much encryption stuff. And worse of all in their mozilla IRC channel those guys said writing such things should be left to experts, that people should always use the C libraries with rust.
The opinion of the security community, including tptacek on Twitter, has been unanimously in favor of this decision. We consulted with our security team before deciding this. There is literally no reason to write security code in Rust, except for memory safety; the FFI in Rust is extremely well-integrated and you can call C code like it's Rust code (in fact, there's even work being done to optimize across C and Rust!)
> Being able to make HTTPS requests would be a pretty important feature for a browser like Servo I'd think.
Servo will be able to do HTTPS requests, of course. The plan is to do it via NSS.
> The pace of development. Given the state of the network io library, the many packages required to get to a useful state, it seems like it's going to be about a decade or so before Rust is even usable.
The fact that it requires several packages to get useful things working is a deliberate design decision. Rust's philosophy is small, composable modules—it's like Node in this regard.
We don't have SSL yet, and the I/O needs work, but the new scheduler, which involved a complete rewrite of the entire I/O subsystem, is literally 3 months old. I don't see how you can extrapolate from that to the idea that it'll take 10 years to make an SSL connection.
Python uses refcounting, and has a GC only for cycle breaking. You can turn it off in many cases and have deterministic behavior. Among compiled languages, Vala has no GC but safe references. It uses refcounting, too, but AFAIK also deduces when an object will not leak out of the scope (and thus the refcounting can be elided). But Vala is also somewhat a niche language, constructed around the GObject/Gtk object model.
That being said, the way rust handles memory looks really interesting. I definitely have to try it out these days.
>It's true security features should be vetted, and cryptography requires expertise, but on the other hand look at Go. They wrote a lot of their own cryptography code in go, and it seems to work pretty damn well.
The issue here is that people who try to roll their own cryptography solution fail at it and introduce insecurities on their own almost all of the time. Think about the amount of bugs in any reasonably complex solution that the layman comes up with. Now imagine what happens when you set the layman off to implement a solution to a problem already solved by experts that can totally destroy your business if not written perfectly.
If we wrote our own cryptographic algorithms for HIPAA compliance where I'm at, I'm pretty sure we'd eventually have to shut down the company due to mass violations due to improperly implemented complex algorithms.
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.
Looking at this long list of programming languages, I see two approaches used by the vast majority of popular implementations: Conventional tracing garbage collectors that cause pauses up to minutes, and naive reference counting which is slow, concurrency hostile and error prone.
Obviously, don't know every implementation of every language on the list. So please tell me I'm wrong. I would love to be!
Over in D language land, we've actively discouraged people from rolling their own encryption libraries. We strongly recommend people use standard, vetted libraries like openssl if they are serious about needing encryption. D can interface directly to C libraries.
I don't see it as a language issue at all. It's more like there are so many subtle issues with doing encryption right that one should be standing on the shoulders of giants rather than starting over.
https://news.ycombinator.com/item?id=5536734
:)
What do you like about it? Can you point me to some examples of good code?
<xsl:if test="x">template</xsl:test>
is basically this in Lisp: (if eval(x) (apply-template template) nil)
And <xsl:for-each> is equivalent to map in Lisp. It's a functional projection, not an imperative loop, even if the syntax looks like that of an imperative language.Functional purity gives you the usual advantages: execution that can be testable and fast and parallelizable and predictable in space and time usage and secure in presenting little attack surface for injections and overflows and such. XSLT is exactly what it claims to be, a declarative way of transforming tree structures.
The problem with XSLT in enterprise land is that real world business requirements don't fit well into that. Real world applications involve things like iteratively computed subtotals or comparing separate records together or picking up user preferences for formatting or other sorts of conditional logic. All of which is a poor fit for XSLT and leads to really complicated XPath hacks.
And your average enterprisey programmer comes from imperative languages and thinks and codes in imperative terms, often not even realizing XSLT is a functional language. So it's no surprise that real-world XSLT ends up as muddy balls of crap.
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....
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.
Also, "hard to shoot yourself in the foot" can sometimes mean "hard to do mystical stuff when you really, really want to". 99% of the time, regardless of language, you should be writing clear, idiomatic code. 1% of the time, though, you want some voodoo (that you can encapsulate so that no one else really has to understand it), and when that time comes you want the language to get out of the way.
For example, almost no one needs to write metaclasses in Python. It's just not something most people will ever have a nonzero desire or need to do. But, suppose you're writing an ORM or a templating system or something else were it might be darn handy to create a lot of methods at instantiation time. In those cases, it's incredibly convenient to be able to do the magical stuff at all. You only have to get it right once, then all the downstream users can benefit from a much simplified and cleaner experience.
I don't want to shoot my foot. Sometimes, though, I might want to shoot a snake crawling across it. I prefer to use languages that keep things safe in general but allow shoot-footing when you really, really need it.
As for your import example you can totally do that:
> import java.util.Collections; Collections.sort(someList);
You just have to make use of static methods. I do understand though that a lot of the standard library is not designed like this so your point is taken.
I'm sure there must be several great tools out there that replace those that I don't like, but I haven't had the time to explore.
That sums it up for me, basically. I could add that this is a manifestation of the tendency to make things more complex than they need to be which is pervasive in the whole Java ecosystem. IMO, even Scala couldn't escape the curse and suffers from it (although it's a lot more pleasant to use than Java).
My first real job was programming Java and I have a bit of nostalgia for it, but having to do anonymous inner classes for a simple callback is kind of annoying.
I've only learned various assemblers by way of necessity writing compiler backends (usually in my spare time for fun... I don't even know these platforms well enough to write a serious production-grade backend with optimizations). Some I find easier to work with than others... but how can you, "like," one over another? I find assembly to be rather devoid of any characteristic that I find interesting or emotionally endearing.
It's easier to attach an emotional context to a programming language these days by proxy; I think most programmers simply associate with the culture that develops around a language. But there was an era when a programming language was just a manual and all you had was a compiler. There wasn't anything particularly interesting about using one over another beyond perhaps what they were capable of from a technical perspective.
So what does it mean to, "like," a language? Do you find it technically superior relative to all others? Is there some socially accepted criterion I am unaware of by which we measure how we feel about a language?
People are strange.
So, it free, it has full FOSS tooling. What's the problem?
As someone who is coming from a very FOSS world and trying to learn C#, I have to counter that no, C# does not have a really good open source ecosystem. Mono works, MonoStudio is pretty decent, but it lacks all of Windows, and there isn't much to target that is not Windows if you are doing anything that is not a webapp.
Objective-C also has a pretty decent open source toolkit in GCC, but a toolkit that lacks Cocoa is like trying to eat dinner but forgetting the food. Mono is a great toolkit, but it's missing 80% of the libraries that makes C# an easy language to use. You've got your forks and spoons, but you've got nothing to eat.
Note that I'm not complaining against C#. I'm really liking the language and everything I can do when I'm in a Windows or Windows Phone environment. I'm arguing that C# is not as portable, in practice, as everyone continually claims.
With that said, I know a lot of devs who hate almost everything about MS that actually do like C#.
Mono is a great attempt at making the use of the languages acceptable to me, but unfortunately it is still a second class citizen. It works okay, I guess, but .NET was created from the ground up as Windows infrastructure.
The same could be said for Clojure on the JVM...it works great if you are using pure Clojure, but the moment you try to use Java libraries, all of a sudden everything becomes messy and loses its idiomatic nature and all the elegance that goes with it (like, for example, the pervasiveness of mutating methods in Java but the almost religious avoidance of mutability in Clojure).
Otherwise it's quite good for what it is, and my frustration with C# is entirely down to the ongoing failure of Unity Technologies to upgrade the version of Mono included with their game engine. It means I'm stuck with an old version of C# (notably without the dynamic type), watching as quite a few third-party libraries drop support for it.
public static String getFirstThree(String s) = s.SubString(3);
etc. But, the fact that it has LINQ, good lambda support, and some type inference make it a very good language over all.If you know about kinding, you probably understand that type system design really has to go hand-in-hand with language design. Introducing those kinds of breaking changes now is incredibly difficult, unfortunately.
As far as boilerplate goes, though, I can't promise anything but I can say that we hear you and this is something that could get attention in the near future.
Thanks to the rapid language iteration we have neat code features. Thanks to the rapid language iteration our large, long lived code bases now have language version "sediment layers".
Not about the language in particular but other reasons to dislike it. For some reason there is a big NIMS(Not Invented by MS) in the community. People use MS's shoddy add on libraries because they are from MS (Asp.net webforms, EF). The announce, wait 20 min, and kill cycle for some of MS's libraries.
Give me (not mono) C# on linux and my choice of webserver and I'll change teams.
* 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
Yeah I think we all would.
Python and C most liked, PHP and Java most disliked (currently)
(Source here for if/when it goes down: https://github.com/thomseddon/lang-rank)
like+dislike
like/dislike
(like/dislike)*log(like)
(like/(like+dislike))*log(like)
(likeDirichlet/(likeDirichlet+dislikeDirichlet))
(likeDirichlet/(likeDirichlet+dislikeDirichlet))*log(likeDirichlet)
lower bound of confidence interval at 95% level
http://arcane-waters-4617.herokuapp.com/On every 'most liked' list out of the above with some sort of control for wellknown-ness[1], the two most liked languages are C and Python. On every corresponding 'most disliked' list, the most disliked five languages are coldfusion, cobol, visual basic, actionscript, php.
Looking at various lists, the next most after C and Python liked usually tend to be lisp, scheme, lua, haskell. Then clojure, rust, erlang, go. Then sql. Then assembly, C#. Then ocaml, F#.
And after {coldfusion, cobol, visual basic, actionscript, php}, the next most disliked usually tend to be groovy or java.
In other words, the partial ordering seems to be approximately[2]:
{c, python} >
{lisp, scheme, lua, haskell} >~ {clojure} >~ {rust, erlang, go} >~ {sql} >~ {assembly, C#} >~ {ocaml, F#}
> ... >~
{groovy, java} >
{coldfusion, cobol, visual basic, actionscript, php}
It's interesting to contrast this 'most liked (controlling for wellknown)' ordering with the most (like+dislike)d counts, whose top 9 items are javascript, python, java, php, c, ruby, c++, sql, c#:* Python is both extremely liked and extremely well-known
* Javascript is extremely well-known and is both liked and disliked.
* Java is extremely well-known and very disliked, and PHP is extremely well-known and extremely disliked.
* C is very well-known and extremely liked.
* Ruby and C++ are very well-known and both liked and disliked. SQL and C# are very well-known and more liked than disliked. Haskell and Go are moderately well-known and very liked.
* Lisp, Scheme, and Lua are not well-known but are very liked, and, to a lesser extent, Clojure, Rust, and Erlang.
[1] by which i mean, the six lists (like/dislike), ( (likeDirichlet/(likeDirichlet+dislikeDirichlet)), lower bound of confidence interval at 95% level ), (like/dislike)log(like) ), ( (like/(like+dislike))log(like) ), and ( (likeDirichlet/(likeDirichlet+dislikeDirichlet))*log(likeDirichlet).
[2] where >~ means a relation that holds for many of the lists under consideration, and > means a relation that holds for all of them.
Love the language or hate the language, there seem to be some languages that are much more on people's minds.
143 dislikes for COBOL? Call me cynical but I'll bet most of those votes came from people who have never been near a green screen.
C++ faults are blown out of proportion by sensationalists, most of whom have never touched C++ code in their lives.
Out of C++, Java, Javascript, and PHP, easily four of the most used languages in the poll, only a single one has positive votes. And it has just as many faults as the other three.
It's at something like 340 dislike votes now- I believe your point is more prescient now than ever. :)
Look at Groovy's history before 2 yrs ago and you'll see what's not to like. Groovy recently (29 Aug) turned 10 yrs old but no one was celebrating.
If there are any other serious complaints about Groovy, I haven't heard them, and/or haven't encountered them myself.
However I kind of don't trust Microsoft to keep supporting this side project... Remember FoxPro?
I write in Visual Studio, which I own, I deploy to Mono, which is free, and I have access to all the MS libraries over in linux, which are also free.
What's there to support? Do I really need version 7.0 of F# with the neuro-cranial implants? Or do I need just to write solutions for people?
F# is a great transition language from OOP/Imperative-land. You can write code the old way, the new way, purely functional, or in a hybrid fashion. I don't think we require much MS support for it to continue to fulfill that role.
Now if you're deploying to windows, that could be another kettle of fish. But I don't do that anymore.
Do you have any idea how many embedded systems and performance related software is written every year?
Reminds me of the ironic brag at Dconf: "We have people who program D against their will" (http://dconf.org/2013/talks/clugston.html)
As a disclaimer, I'm not much of a Perl programmer, though I intend on sharpening my skills with it after I'm done with a few other projects.
It appears that it's been trendy to hate Perl for a while now, with the often repeated argument that it looks like line noise.
Yet I've seen plenty of people praise APL for its obscure design, even though it is the definitive unreadable language. To the uninitiated at least, but that's the point. I haven't used it, but I don't hate it, and I think it deserves praise for being a non-Von Neumann language.
The thing is, Perl is pretty much the hacker's language. TMTOWTDI, although allowing for inconsistency, also makes it a highly flexible tool and allows for people to hack together code, be it prototyping or for real use, fairly quickly and to their own preferences. With first-class regexes it's also invaluable for text processing and sysadmin tasks for which a shell script becomes tedious.
The CPAN is also exhaustive and has solutions for so many tasks, making Perl a very tempting language for scripting and general problem solving.
Ultimately, Perl is a tool and it serves a very good purpose. It has the potential for abuse and its philosophy is based on individuality and being able to take several approaches, but that's what makes it beautiful.
Letting go of the line noise mentality and getting to know the language better helps.
VBA
VB.NET
VB6
VBScript
VBA and VBScript, on the other hand, are abominations - the lack of an exception system is excruciating.
VB.Net is basically a few #Defines away from C# and has most of the nice functional features of C# they added in .NET 4.0. It's easy to read and powerful. Plus, the "Handles" keyword makes coding event-driven OOP objects quite pleasant.
My only problems with VB are the non-short-circuiting Boolean operators (so you have to write AndAlso and OrElse for short-circuit instead of And and Or), the bizarre +1 array sizing (but you should be using lists instead of arrays anyways so it doesn't matter) and the anachronistic Dim keyword. Even the option-strict thing makes sense because there are some cases where static typing is excruciating if you're just hacking something out - "oh crap, I have to use this terrible .net 1.1 library that predates generics, either I have to write a zillion typecasts or I can just go with dynamic typing".
As someone who has had never looked at any form of VB before this: meh. It's basically C# with a... unique syntax.
There are a few things that VB does better though: type inference for lambda expressions and exception filters.
Also historically VBasic has not garnered many responses thus the catch all.
So, IMHO, grouping VB.NET with VB6 would be like grouping C, C++, and C# together just because they have a C in their names.
My pet theory on why this is is that when a language becomes popular, people have to use it against their will. Everybody who uses Haskell likes it, because there is basically no reason to use it if you don't like it. Not everybody who uses C++ or Objective C likes it, because there are many reasons to use them (eg. getting paid) that don't involve liking them.
There are a couple of exceptions: Python and C consistently rate highly despite being widely used, and Rexx and Groovy consistently rate low despite being virtually unknown. The latter might just be bad languages and the former really good languages; actually, this poll seems to be pretty good evidence that the old combination of Python + C for apps is a pretty solid choice.
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, but that's nothing against the situation in e.g. Haskell.
Then there is type inference, which really scares me. When I write (in pseudocode):
fun add(a, b) { return a + b; }
the meaning can change depending on how this is called at a different place in my code (e.g. with strings or ints as arguments). On the one hand, this confuses me - if there is a conflict, it can be incredibly hard to debug. On the other hand, the compiler can get confused. If I call add(get_number(x), get_number(y)), I know that a and b are going to be ints, but the compiler might be unable to infer this, depending on how complex get_number is. Type inference is magic, and IMHO often not worth the saved keystrokes. I'd rather have my language use a Variant type when no type is specified (and sure, when it can infer the type, use it as an optimization).
I don't know that I buy that those tradeoffs are best, but there is something really interesting there.
add :: Int -> Int -> Int
add a b = a + bIf 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.
Shells like rc have much more different syntax (and are arguably cleaner) than common ones like Bash.
"Keep your hand up if you've actually built a project using PHP" most hands go down
But my coool poooints!! I need to show the guys I hate PHP so they won't think I'm a newb!!
More interestingly imho is the percentage of people who hate PHP but still use it most of their time, since they can't find projects with other languages. I bet that's a lot of people...
I must however add that, like a sibling comment, I think modern frameworks like Symfony 2 is the way forward for the language in a modern web stack.
Most I've talked to in person (yes, plural of anecdote is not data, etc) hate PHP because they've had a wonderful first-hand experience with it. This is in Sydney (Australia), where Ruby and Node is a relatively recent phenomenon compared to SF and the like.
Your post could do without the shitty attempt at sarcasm, but you've likely figured that out already.
I don't want to use it and even go to the extent of avoiding open source software that does. It isn't about cool points but purely about whether I want to use the language.
I like types and type checking and halting with exceptions on errors. Do I think that makes me cool; no, but it does make me dislike PHP and use Postgres rather than MySQL (even before my Oracle aversion became relevant).
Edit: This was the article: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de...
"Most people who disagree with me do so because they're immature, not because they have an informed opinion, so I'll just make fun of them."
And that doesn't reflect well on you.
Luckily it's just a small backend part of an application that got brought along. That said, I've spent an inordinate amount of time with it given its size.
My favorite bug to date? Uninitialized variables being interpreted as strings. That's the one I get to debug for clients on a regular basis. "Why can't I make this DB connection?" "Because you forgot to initialize the variable containing the database name."
I think it's because PHP has a much larger surface area of questionable decisions to attack. When your core language is very, very small (e.g. Scheme), you have less to criticize, but when PHP has everything and the kitchen sink, plus a lack of an overarching philosophy or standard, plus a broken core developers community, it simply generates many more hatable things.
I wouldn't want to engage in a big project in a language as unstable as that.
Do you have any evidence to support that notion? I find it quite the opposite. People who spent a decade being forced to use PHP know the language well, and dislike it. People who have never bothered to learn and just keep making the same mistakes over and over again defend PHP fervently, despite being almost entirely ignorant of the problems with the language.
Why would you do that?
If you read my comment you'll note that I said "many hands go up" "most hands go down." I'm not saying everyone who dislikes PHP hasn't used it, merely that there's a large number of people here who dogpile on it for no reason other than "it's popular to do so" or "I'm half way thru _why's Poignant Guide so I'm pretty sure that qualifies me to comment on every programming language and why it isn't as good as ruby."
Please note that: a) I use PHP but I'm not a slob, I critique bad PHP freely[0] and b) people are coming out of the woodwork saying 'yeah I don't use PHP but I downvoted it'[1] so I think it's fair to say my original assertion (many people are "disliking" PHP from an uninformed position, merely because it's popular) stands.
[0] https://news.ycombinator.com/item?id=6510051 < note how this thread goes from (in my opinion) a salient, relevant discussion of the codebase and how to improve it to "durr php suxx" circle jerk in approximately 2 comments.
[1] https://news.ycombinator.com/item?id=6528073 "I voted dislike to PHP despite not having used it."
EDIT: trigger warning- more sarcasm | Here are some more thoughtful, informed, salient comments about PHP that really add to the discussion and aren't just "lol php suxx amirite??":
https://news.ycombinator.com/item?id=6527334
2) if you'd said "many" instead of "most" your later points would hold better. What basis, aside from hopefulness, do you have for assuming that most people who have a bias against php haven't used it? After HTML, CSS, and JavaScript it is the most ubiquitous language for the web: ergo, most web people have probably had exposure to it.
My bias: I hate php. I've deployed a few dozen sites that use it over the years.
It also bugs the fuck out of me that CoffeeScript projects frequently end up being given a *.js extension in the name and how often people who want nothing in the world to do with CoffeeScript, people like me, end up having to deal with it for some reason. Like I don't like ada, and I never have to look at it. ada never ends up in my editor or on a github page I'm looking at, but frequently someone puts CoffeeScript somewhere where someone was expecting JavaScript, like a StackOverflow answer, or a package for Meteor, or something. If CoffeeScript stayed out of my life, and I out of it, I would probably hate it a lot less.
It's not that it's transpiled. I mean that isn't a great thing, but for example I like the idea of Dart and even TypeScript. But CoffeeScript? No thanks.
> [...] how often people who want nothing in the world to do with CoffeeScript,
> people like me, end up having to deal with it for some reason. Like I
> don't like ada, and I never have to look at it. ada never ends up in
> my editor or on a github page I'm looking at, but frequently someone
> puts CoffeeScript somewhere where someone was expecting JavaScript,
> like a StackOverflow answer, or a package for Meteor, or something.
> If CoffeeScript stayed out of my life, and I out of it, I would probably
> hate it a lot less.
As the creator of CoffeeScript — I think your answer here is right on the money. It's a pretty perfect answer to joeblau's question.But I can understand , because it's popular , some people feel like they are forced to understand or learn it.
Yet you can be proud that Coffeescript influenced the latest ES spec, that's all that matters , you pushed Javascript forward, by saying "Dont wait for other to make the stuff you need, do your own stuff and eventually people will wake up and adress your intial issue".
If a project compiles down to Javascript and is intended to be used as such, a .js name suits it regardless of the source language.
A compiler is a program which translates between two programming languages. CoffeeScript -> JavaScript is just compilation. There is no need for a new word.
For better or for worse (I think for the better), CoffeeScript is fully interoperable with JavaScript. The runtime characteristics and the lowest-common-denominator ES3 support are such that you can use it just about anywhere you might want to use JS. That, and a modicum of success, means that JS programmers sometimes stumble across it in unexpected places, only after popping the hood. e.g. "I thought I was just using a simple library -- Eauggh! What is that stuff down there!" This makes it very hard to ignore...
As a JavaScript programmer, you're forced to ask yourself the question, "Why haven't I given CoffeeScript a real try yet?" Not all, but a large part of the dislike comes from folks rationalizing their response to that question to themselves.
tl;dr, CoffeeScript is almost perfectly situated to inspire fear and loathing in JavaScript programmers with closed minds.
[1] - http://www.youtube.com/watch?v=zM-gUM9C5SA&feature=player_de...
1) That people who don't know CoffeeScript have to use CoffeeScript when they encounter CoffeeScript.
2) He thinks require might have been implemented differently, though he thinks that maybe that might have been changed, but "I don't really use it so I don't really know."
I don't really dislike it but I really do not see myself using it if I had a task where I needed JavaScript.
This can be caused by an unnoticed block of whitespace, corner case of CS language itself, or me simply screwing something up.
About 5-10% of the time I hit a WTF in CS, which is, for now, an acceptable trade off vs. using pure boilerplate ridden JS.
If there was a concise TypeScript a la Scala for Java, I'd be all over it.
f x + f y // is f(x + f(y))
f g x // is f(g(x)) console.log inspect value
model.save(attrs).then ->
ui.update attrs
rect.scale height * factor
... and have all of the results come out correctly, while leaving the code readable. If the rules were "more math-like" as you say, then none of that would work. Perhaps it would harmonize with special libraries that used functions (automatic-partial-application a-la Haskell) in a different way than JavaScript does ... but that's not the world we live in. It's gotta harmonize with JS functions as they exist.Definitely doesn't solve many of JS's problems, but it certainly makes things easier when writing client side apps. We use it a lot for Backbone development.
With languages like TypeScript, or Dart, you also reduce the amount of typing work, but that's just a side-effect of the good tooling these languages have to offer. You can auto-complete everything.
It makes a lot more sense to boost productivity via structure and tooling, because that's what really helps with scaling.
The real problem is there are a lot of "developers" that came up just doing simple Javascript functions. They know their functions, and they dont want their world to change. They would rather accidently reference closure or global and type significantly more code than learn a slightly different way to code Javascript.
Complaints such as "extra hassle due to compilation" are laughable honestly. If adding a build step is an extra hassle, this might be the wrong profession. Tinkering should be in your nature!
CoffeeScript super charges Javascript. Any truly competent JS programmer that gives it a try for a few days would realize it.
That's a very railsy answer. The strength of the web is that you don't need to run a build at all. I think that's the fundamental dislike of Coffeescript. I've worked on so many html frontends where a build process wasn't necessary to accomplish our job, and if someone tried to introduce one for the sake of coffescript it would simply be an annoyance.
That mental context-switch overhead is the whole driving philosophy behind NodeJS in the first place - don't switch languages so often. CS/JS is enough of a change that the overhead is not insignificant.
Becoming expert in a new language goes beyond learning syntax; one must also learn code conventions/style, compiler/transpiler quirks, runtime quirks, and library/framework ecosystem. In CoffeeScript the last two may be moot, but the first two remain. Additionally, to be an expert in a transpiled language, one must be an expert in the target language. It is much harder to find someone that has this knowledge and experience in both CoffeeScript and JavaScript.
This begs the question of each web dev team: if you are already experts in JavaScript, is the value-add from the transpiled language worth the cost of increased solution complexity/cognitive load, and smaller talent pool? My take is that CoffeeScript doesn't meet that bar for most teams.
For individual projects, or isolated one-off tools, these non-technical issues are moot. Also, server-side may be less of an issue since complexity is reduced by not having to write for multiple runtimes (only Node.js and usually without DOM).
Ok, so Javascript has a bunch of gotchas but it's an interesting language which I both like and dislike but I don't dislike it enough to add yet another layer to my dev platform.
Also, as someone stated elsewhere on this page the true solution is to make a browser virtual machine and use any high level interpreted language you want.
In my experience working with CoffeeScript, I've always found well-written code easy to read with no ambiguities.
Of course, that does lend a large amount of bloat to the poll, but at least that information is more useful and useful data is what we should care about. This is not to say that this information is not useful, but I more interpret this data in a vague sense of what languages are used the most commonly and the pathos surrounding each language.
As an aside, I'd also like to point out that once one gets to know a language sufficiently well, they usually end up finding things that they dislike about the language and things that they like, further making this poll slightly more noisy. Ah well, I guess that's why new programming languages are born.
[edit: fixed a typo]
I'm not saying that it's a bad programming language. I'm also not saying it can't be used to create extremely useful software, or that you're not a great programmer if you only use Perl. I respect great Perl programmers just like every other great programmer. I worked at Yahoo, and from the code that I saw, there were only a few great programmers there. The rest wrote a piles of steaming code/shit that was almost impossible to understand.
However, the nuances about the language really rub me the wrong way and offend my own personal beliefs on how programming languages should be. I hate the array vs. scalar concept, the different ways to access them with various brackets and @/$, etc, and I especially hate that they have separate namespaces. I also hate things like "or" and "||" have different precedences. I did my best to learn perl, and wrote scripts at home to help me gain better knowledge, but once I discovered python, I ditched it and will never go back.
BTW, its CFML, NOT ColdFusion. ColdFusion is a product, CFML is the language. it would be the same as having JRuby on the list instead of Ruby. if you're going to have a poll on programming languages, then at least label said languages correctly.
And this isn't some academic or semantic point -- the best implementation of CFML isn't even ColdFusion.
Here's a challenge for you CF haters: Download and use Railo (GetRailo.com) for your next side project. You just might be surprised.
I think the popularity comes from a number of googlers using HN and upvoting related stories. A lot of go fans seem to be people for whom it's their second language after python (or possibly their fourth language after python, java and c++ - the only languages that google employees are allowed to use, AIUI). So they see a language that's more expressive than java, less crazy than C++, safer and more performant than python, and think it's the best thing since sliced bread.
There are some good things in go. An opinionated formatter that ships with the language is a great idea. Static duck typing is an interesting idea, though IMO less useful than either alternative - it means you can't do the equivalent of newtype, which is something you use all the time when coding in a properly typesafe language because it lets you catch so many errors. If you look at the scala community, there's a syntax for doing this... and almost everyone's agreed it's a bad idea. The concurrency model is... worth pursuit and I'm glad someone's trying it, though ultimately I think it will prove less practical than e.g. Erlang-style approaches.
It's not the worst language ever. But it utterly fails to live up to the hype. I've yet to find anyone who likes it having previously done a serious project in Haskell/Scala/F#/OCaml.
It also seems like the way they resolved a lot of issues in the surrounding tooling was to not decide. For example: how many spaces should we use? Screw it, we'll use hard tabs! How should we handle dependency loading and package management? Screw it, we'll hard-code the URL to our dependencies in the source code! How to handle dependency versions? Screw it, we won't!
It's not a horrible language (like shellscript), but I think they wasted a lot of opportunity to make something better.
> For example: how many spaces should we use? Screw it, we'll use hard tabs!
The only sane choice, and one that, again, goes back decades for these guys. You use one indent character per level of indentation. Boom. If you don't like seeing 8-wide tabs, fix your fucking editor. If you're worried about lining up all your code in perfect multi-line arrangements, maybe rethink your life.
> How should we handle dependency loading and package management? Screw it, we'll hard-code the URL to our dependencies in the source code! How to handle dependency versions? Screw it, we won't!
They should have never done the URL thing; it was a cute demo, but people took it as some sort of commandment to write code that way. If you want a real, stable set of dependencies with control over which version gets used, you should do what C and C++ programmers have done for decades and include the appropriate dependency source code in your distribution. Brad Fitzpatrick (core Go author) does that for Camlistore: https://github.com/bradfitz/camlistore/tree/master/third_par... and I do it for my own projects, if they're more than a quick test.
But...`go fmt` does this for you :-)
type Magic struct {
CastingCost string
Id int
}
Even though I'm not really a fan of the choice myself.I truly don't see the value of this, every language brings something to the table.
Python (3): it just has ridiculously powerful data structures and sensible error messages
C: it's simple(ish), fast and keeps yuppies away
C++: has great libraries and frameworks like Qt, is fast
Shell: quick and simple for small tasks
Java: mainstream and boring, people expect me to use it and work with horribly broken code created by off-shored resources who have absolutely no clue what they were doing
C#: Microsoft
PHP: ugly, people expect me to use it
Objective-C: just because it prompts HR to hire people with this skills instead of something more pleasant
Really, I like powerful languages. I hate languages that are boring, ugly, have a horrible code debt and prospective majority employees expect me to use.
In short, I dislike monopolies.
Edit: forgot - VBA - dislike (just because locked down enterprise desktops)
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've only toyed around with mono for web programming, I've not used it in production, and the baked in authentication libraries (aka Forms Authentication) seem to have some problems still, but we ARE using Xamarin in production for our mobile apps and it's working fine.
Can I take a C# project targeting Windows, develop compile and developer-test on Linux, then second test and deploy to Windows?
So unless your Windows app is in GTK#, you won't be able to help them.
Saying that C# is multiplatform is like saying that Objective-C is, it's true technically, but having an app that run on both platform is a PITA because most libraries are not cross platform.
> Java: mainstream and boring
> C#: Microsoft
> PHP: ugly, people expect me to use it
Language % Likes out of of lang voters
C 88%
Python 87%
Scheme 84%
Lua 83%
Lisp 81%
Haskell 80%
Rust 79%
Clojure 78%
Erlang 76%
Go 75%
OCaml 73%
SQL 72%
F# 72%
Assembly 72%
C# 70%
Forth 69%
Smalltalk 69%
Ruby 61%
Scala 61%
JavaScript 61%
D 60%
Other 60%
Shell 56%
R 55%
Ada 51%
Pascal 51%
CoffeeScript 44%
C++ 42%
Objective-C 42%
Perl 38%
Delphi 38%
Tcl 36%
Fortran 34%
Java 33%
Groovy 29%
Rexx 26%
PHP 24%
Actionscript 17%
Visual Basic 11%
Cobol 6%
ColdFusion 6%But every programming language I've ever seen has flaws - that are both objective and subjective. If I were a Ruby developer wanting to create something on the JVM, I might think that groovy is inferior to JRuby, for example. If I were a straight up Java developer, I might think that groovy is slow or inconsistent or too unsafe (how some people perceive ruby's monkey patching). I'm not saying any of those perceptions are correct, but it is very easy to imagine all kinds of reasons and perspectives for disliking every single language up there. Heck, for about a third of them, it's harder for me to imagine reasons that people DO like them. But I know that's just my opinion, man, and who I am to stop people from using drugs, jumping off cliffs, or using Perl.
Of course, there's the limitation that it only runs on the JVM. Maybe it suffers from the following thought process: many people who want a rapid development language and would be interested in Python or Ruby aren't interested in running on the JVM, and people who are already in the Java ecosystem are too biased in favor of static typing to give Groovy its fair shake?
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.
How many of you upvoted "Go" even though you've never really tried Go, just because you feel like it has got zeitgeist and pizzazz and you're attracted to trying Go? Did you downvote Visual Basic? Have you ever used it? If not, you probably downvoted it because hating Visual Basic is a mark of an Enlightened Programmer; wearing a Visual Basic t-shirt to work would either be a joke or a mark of death. But these are social, subjective, impressionistic evaluations we're talking about. Do the languages actually deserve these judgments?
So, if the goal is to propagate and entrench the existing impressions that people tend to muddle around with (because, after all, how many of us really have the chance to deeply learn---deeply enough to form a sound opinion---more than one or two new languages a year?), then mission accomplished. But if the goal is to shed light on the respective value of languages, darkness has fallen.
Personally, I voted only on languages that I've used. And yes I voted Go up and VB down. But I'm just an outlier right?
The poll is what it is.
I've recently had a closer look at it and I believe that it's the best-designed general purpose statically typed language out there. I'm genuienly impressed by it. It's far from being production ready though.
And I always like seeing these kinds of polls because people's 'favourites' depend alot on what they do with the language - Java and C++ are great for writing large apps, systems, etc..., while dynamic languages have much different use cases.
Why the hate for Actionscript? I get that the AS VM is crap by JVM standards, but, having coded several large projects in actionscript, I think the _language_ is actually nice, when compared to its ECMAScript cousin, Javascript.
AS has classes, inheritance, getters, setters. It's event-driven, with sockets. You can access XML as el.child1.@property. Working with the Flash stage is easy: addChild(), removeChild(). You can embed resources and movies in SWF files. You can load shared libraries.
What am I missing? Is it just about the AS VM? Is it the hatred for Flash?
I can adapt on any language if the language has enough feature set, but lack of fine toolset support is unacceptable. For instance, these features are highly expected
1. Syntax and scope based accurate auto-completion. 2. REPL debugger with accurate break-point and stepping.
These features are optional but make it awesome if exists.
3. Fully featured REPL. 4. A lot of proven libraries. 5. Exceptional linguistic features. 6. Fast build - compiled or interpreted for fast iteration. 7. ...
Of course, the language itself needs to be designed to support those toolset features.
The Linux desktop desperately needs something that easy to use, but which works with SCC and gently encourages some structure. Glade with a built-in Python IDE which hides the boilerplate could probably do it (along with a bit more clarity to how you build up an interface in Glade).
http://stackoverflow.com/questions/961942/what-is-the-worst-...
I asked this on SO because I'm interested in flaws in language design. I found lots of weird language quirks in the the answers. I'm not sure if the vote count is useful information, but PHP got most up-votes and Lisp received the most down-votes.
German original: http://helmbold.de/artikel/programmiersprachen-beliebtheit
But anyhow, my opinion is that all languages are tools that help you to built something or reach a certain goal. While some languages are easier or more fun to program with, if what you are trying to build already exists in a different language it's not always wise to recreate it just because language x sucks.
Interesting ...
(For the unfamiliar: ActionScript and JavaScript are both implementations of the same language specification. Disclaimer: I have no idea in which ways both languages divert from the specification.)
I like haskell alot, but I can never think of what to do with it
IMO Ruby has all the advantages of Python without the ugly bits.
Python code looks like Python code. Its structure is rigid enough to let you take on new Python code and (unless it's been too heavily inspired by Ruby code or similarly makes injudicious use of certain powerful Python features) you'll just "get it". Python's strict structure and syntax enhance this.
Ruby? Ruby is a language, but it's sort of more like a meta-language, with the popularity of the concept of using DSLs. Its studied lack of syntax makes it look to me like you often need to know the codebase to know what to do with the code.
(I speak this as one extensively familiar with Python but who has only a passing acquaintance with Ruby at present.)
Personally I like and dislike Javascript.
Also, I have a love/hate relationship with a lot of these langs, so votes go in both categories, I suppose.
yes
Clojure was alien. When extrapolating what it might be like to work with Clojure, prefix notation (+ 1 2) was an obvious downgrade to infix notation 1 + 2 in a REPL. Arrow-keying your way around s-expressions on http://tryclj.com/ just seemed to confirm it.
But it's sort of like Vim: if you could see your Clojure workflow in a month, you'd be sold now. But since you can't, and since you don't know about Paredit, and since you don't realize that you probably will never even use a REPL since you'll be evaluating code in your actual source files, it's hard to be convinced and that's just how it is.
And there's still the risk of a month going by, just like in Vim, where you never even arrive at that killer could-be workflow because you never happened to stumble upon it and you don't even know it exists.
Still, one of the better polls.
haskell upvotes = theoretical mathematicians
javascript upvotes = web developers
ruby - javascript = functional programmers who aren't also theoretical mathematicians
python upvotes = everyone who doesn't fall into the previous category
For me - I dislike interpreted languages no matter how cute their syntax looks like. They usually offer quickest idea-to-deployment times for the price of shittiest overall performance.
It's quite clear that languages are suited to certain tasks over others, which makes it nigh impossible to blanket characterize a language as 'good'.
I haven't done any big projects with it though, so ymmv. I did a course early this year that used it to introduce functional programming.
I love how we boil things down to be black and white. You either love a language, or you hate it. Unfortunately, nothing is ever that easy; just (try to) use the right tool for the job.
Some of the biggest annoyances about the Matlab language are not duplicated in Octave:
http://wiki.octave.org/FAQ#What_features_are_unique_to_Octav...
E.G. Ada, R, D etc...
- in absolute likes (1167)
- in like/dislike ratio (1167/161=7,25)
Java, PHP, Python, C, Obj-C and C# are my likes.
I guess I'm not alone...
Thanks for creating such a fun language Jose!
The examples on Wikipedia don't do it justice. Modern CFML is written largely in C-style script form, much like JavaScript in feel.
The examples you see on Wikipedia is programming within the old language form now (mostly) reserved for templating.
Seriously, kill it with fire.
...the language that allows for security exploits by design!
Voted down: PHP, JavaScript.
I do not like weak typing or silent errors. I do like functional programming.
Well, for one thing -- the programming language culture seems to have something rotten [as in cult like] in it, if people really find it surprising that anyone can dislike the language... 1/2 :-)
A question like that from your 12-karma account as its 9th comment is a typical example of the start of a baiting session from a troll. I'm frankly not surprised to see that re Python anymore. :-(
Just curious for the reasons for not liking Python.
There is also way to much love for Apple products.
In the end the tools you use don't matter.
I never heard an investor say: 'Did you write this in PHP on a PC? I'm sorry we are not interested.'
Actionscript 21.22%
Ada 109.92%
Assembly 247.81%
C 700.00%
C++ 69.75%
C# 241.94%
Clojure 363.72%
Cobol 6.38%
CoffeeScript 81.26%
ColdFusion 6.09%
D 162.59%
Delphi 64.06%
Erlang 332.28%
Forth 219.63%
Fortran 48.24%
Go 308.56%
Groovy 45.58%
Haskell 391.49%
Java 46.51%
JavaScript 159.88%
Lisp 435.29%
Lua 526.32%
Objective-C 71.76%
OCaml 268.64%
PHP 30.28%
Pascal 106.33%
Perl 66.31%
Python 636.01%
R 122.91%
Rexx 43.48%
Ruby 162.21%
Rust 376.99%
Scala 161.52%
Scheme 525.41%
Shell 126.68%
Smalltalk 239.60%
SQL 254.29%
Tcl 56.31%
Visual Basic 12.26%
Other 155.56%
F# 270.00%
Except PHP, PHP can fuck off.
Thanks! :)
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 be available to my peers so they can generate basic android crud apps through a web app = 1 hours of work/deployement on an apache server and no need to ask the sys admin for another server.
My point is you can hate PHP all you want it is a great tool that has its place in enterprise envirronement.