The most disliked programming language

According to this post from Stack Overflow, Perl is the most disliked programming language.

I have fond memories of writing Perl, though it’s been a long time since I used it. I mostly wrote scripts for file munging, the task it does best, and never had to maintain someone else’s Perl code. Under different circumstances I probably would have had less favorable memories.

Perl is a very large, expressive language. That’s a positive if you’re working alone but a negative if working with others. Individuals can carve out their favorite subsets of Perl and ignore the rest, but two people may carve out different subsets. You may personally avoid some feature, but you have to learn it anyway if your colleague uses it. Also, in a large language there’s greater chance that you’ll accidentally use a feature you didn’t intend to. For example, in Perl you might use an array in a scalar context. This works, but not as you’d expect if you didn’t intend to do it.

I suspect that people who like large languages like C++ and Common Lisp are more inclined to like Perl, while people who prefer small languages like C and Scheme have opposite inclinations.

Related posts:

9 thoughts on “The most disliked programming language

  1. “indent to do it”
    I haven’t written perl in a while but in context this had me thinking that whitespace was significant in perl.
    My guess is that you didn’t indent to type indent here.

  2. “I have fond memories of writing Perl,…”

    Me too!

    However, I can not seem to recall any fond memories of *reading* Perl.

  3. I have a list of “write-only” languages that is headed by Perl, closely followed by Lisp and FORTH.

    The reasons are simple: It’s way too easy to write unmaintainable code in these languages. Skills developed in other languages seldom transfer well. It takes effort and discipline to *avoid* writing lousy code. It is way too hard for even a language expert to unravel some of the ugly (but working) code written by novices.

    In contrast, languages like Python make it much easier to write comprehensible code, with less dependence on the writer’s skill.

  4. python comprehensible? i use white space to make my code easier to read. taking away that degree of freedom might make sense when you’re teaching college freshman, or if you’re some uptight manager, but for someone who knows how to wield a real software tool, perl was great.

  5. Once a line begins, white space is no longer significant in Python. You can align everything however you wish, except for the first character. A reasonable compromise in my opinion.

    I’m OK with Python’s white space rule in general, but it’s a trade-off. It prevents misleading indentation (as long as you don’t mix tabs and spaces) but it can cause other problems. Several times I’ve had code on this blog lose its formatting and then I have to go back and figure out what it should be. And code generation is easier with delimiter characters. (Go Lisp!)

  6. Perl… Now, that’s a name I’ve not heard in a long time. A long time.

    I think my uncle knows him. He said he was dead.

    Oh, he’s not dead. Not yet.

Leave a Reply

Your email address will not be published. Required fields are marked *