Perl is the most hated programming language

I’m 1000% surprised R is so low on the hate meter… What a kludged together statistical package “language”…

2 Likes

Methinks you are taking this waaaay too seriously.

I think almost everyone recognizes this for what it is, a chance to make fun of whatever language is annoying you this hour.

3 Likes

Luckily that doesn’t matter, because 5 bazillion physics graduate students learned everything they needed to know about programming from being forced to maintain their professor’s WATFOR code.

Which impressed the hell out of me many moons ago. They powered through debugging hundreds of thousands of lines of WATFOR code on sheer force of will, naked brilliance, and not knowing any better, while I cowered in a corner with my small 20KLOC of nicely structured f77 that I built in self-defense.

(I still remember one student looking at my code and asking which language it was written in…)

1 Like

What does WATFOR look like? I tried to find some example code, but so far I’m coming up empty.

Perl, the Old Spice of programming languages,

Code like a man, man!

3 Likes

Maybe what I like is making fun of shitty graphs.

4 Likes

How about favourite languages?

Is the Perl hatred due to hatred of regex?

regardless, for those who think reading Perl regex is hard, try reading equivalent patterns in Java regex…it’s not pretty. java has long supported variable length lookbehind so that’s a plus.

1 Like

I’ve been using perl for, umm, probably 15-20 years now. Still my favorite language and the first one I reach for. Picked up python for a project a year ago. What a piece of shit language. Who writes a language where white space actually means something? Screw up the indentation in one spot and the code won’t interpret. Pain in the ass! Recently had to pick up lua too. Interesting but so neutered compared to perl. Would love me some regex there. Also, the lua environment I’m working in is completely event driven so that’s been “interesting” to adapt to.

edit spelling

4 Likes

Seems to be mostly a list of languages so old and siccesgul that new people have to use them, something about every developer I know at least tries to avoid, because the rewards are pretty low. No flashy no features to show the boss.

Everything is an object in Python. The only difference is that in Ruby you can treat literals like objects, while in Python the value must first be represented with a variable. As I recall, Ruby has some rather creaky (one might even say Perl-esque) syntax rules that come about because of the need to parse literals as objects.

Man, hate-coding in Perl is the best! I mean, you can really write some great fuck-you-asshole code in Perl.

5 Likes

Although I’m not a pro and would never claim to be, I’m guessing that a lot of the Perl hate comes from the Web 1.0 and BOFH scripts hacked together in the late 90s and early 00’s that companies still use and expect someone to maintain.

With proper technique, even Perl 5 can be…less bad.

http://modernperlbooks.com/

2 Likes

Perl5 is a clear winner with just a little more than 7 minutes needed to finish test against Java with worst result as big as nearly 5 hours to do the same. (Worst result of GCJ Java - almost 30 hours, doesn’t worth comparing against)

Perl5 is not only superior in performance but it shows very little slow down on larger data. This is as close to C (compiled to machine code) as it can be for scripting language.

http://raid6.com.au/~onlyjob/posts/arena

5 Likes

I bet if coffeescript had the same installed base as perl, it would be hated much more.

2 Likes

No consider

‘this is a number {0}’.format(1)

which evaluates to this is a number 1

format is a method on the string object. Though admittedly I can’t get it to work on int() literals.

Yes, but is this an actual problem with Stack Overflow or a problem with the personnel at your $work? I mean, I can throw the Art of Computer Programming at a bad programmer too, it’s just going to leave a large dent in their head.

You know every single page on Stack Overflow can be edited by anyone, like Wikipedia, right? Right? So if you see something that is wrong, edit, downvote, leave a comment, or heck, provide a better competing answer and bask in the glow of a zillion upvotes as people behold your genius.

Sure, if the crowd doesn’t understand how Stack Overflow actually works. Or Wikipedia. But some percentage will, we hope.

1 Like

The way to code in Perl is as follows.
1 - Put cat on keyboard
2 - Take cat off keyboard
3 - Debug and find out what the program does.
4 - Trade program with other Perl developers for one you want.

13 Likes

Oh yeah! The delimiters are enough.

>>> (1).__le__(2)
True
>>> 

Forgot about that. Thanks.