News for hackers. Stuff that matters.
Re:The (Programming Language) Hat by skimbrel on Monday June 20, 2011 @12:37PM (#2674916)
There's a comment on the article complaining about the hate for Perl -- I agree with its sentiment but not the way it characterizes so-called "brain damaged" people.

Modern Perl is really a very different language than what people tend to think of when they hear the word "Perl". It has a real OO layer (Moose), a mature set of web frameworks (Plack), and generally-accepted best practices that ensure code is just as readable and maintainable as Python or Ruby.

If all you know of Perl is hacky one-liners for munging logfiles, skim a copy of the book Modern Perl: http://onyxneon.com/books/modern_perl/index.html . You might just learn something.

Re:The (Programming Language) Hat by DRMacIver on Monday June 20, 2011 @01:20PM (#2675088)
I know. I actually keep meaning to properly learn perl (I can just about read it and don't really bother using it for one liners as I tend to find joe-random-scripting language + sedawk cover enough bases).

But when one prefaces a post with "You know what we haven’t had in a while? An irritating but catchy meme in which we shallowly compare programming languages based on superficial characteristics. Those are awesome" people who take it seriously deserve what they get :-)

Re:The (Programming Language) Hat by dkarl on Monday June 20, 2011 @03:44PM (#2675667)
The fact that Perl's OO "layer" has a name isn't very reassuring, even if it is a nice solid name like "Moose."
Re:The (Programming Language) Hat by chromatic on Tuesday June 21, 2011 @01:52AM (#2677616)
CLOS has a name. It's CLOS.
Re:The (Programming Language) Hat by quanticle on Monday June 20, 2011 @10:13AM (#2674226)
I would add:

    The Lisp hat: basically a yarmulke; i.e. a ) on your 
    head.
Re:The (Programming Language) Hat by gaius on Monday June 20, 2011 @12:45PM (#2674947)
The Ruby hat is very short and made of pleated tartan. On top it has tentacles.
Re:The (Programming Language) Hat by expanse on Monday June 20, 2011 @10:20AM (#2674260)
If I read another article of the form "If language X were a Y, it'd have property Z", I might throw myself off of a bridge.
Re:The (Programming Language) Hat by DRMacIver on Monday June 20, 2011 @10:40AM (#2674335)
If programming languages were hacker news comments this one would be common lisp.
Re:The (Programming Language) Hat by dkarl on Monday June 20, 2011 @10:49AM (#2674370)
Humorless, unappealing, but hard to disagree with?
Re:The (Programming Language) Hat by DRMacIver on Monday June 20, 2011 @01:18PM (#2675081)
Contains just about everything, so I don't have to come up with a specific justification for the comparison. ;-)
Re:The (Programming Language) Hat by mousa on Monday June 20, 2011 @11:14AM (#2674475)
concise, functional
Re:The (Programming Language) Hat by Swizec on Monday June 20, 2011 @10:28AM (#2674294)
A true gem from the comments thread on the article:

"The PHP Hat: Designed to fit on your head, but actually only fits on your knee."

Re:The (Programming Language) Hat by adaml_623 on Monday June 20, 2011 @10:53AM (#2674389)
Nah the PHP hat is an ugly beanie knitted by your gran that keeps your head really warm. But isn't totally comfortable.
Re:The (Programming Language) Hat by hvs on Monday June 20, 2011 @10:14AM (#2674232)
I'd say that the COBOL hat would be one of those thin-brimmed fedoras from the 60's, but that's just too cool for COBOL. COBOL doesn't get a hat that was worn by Frank Sinatra.
Re:The (Programming Language) Hat by ryan_brunner on Monday June 20, 2011 @10:22AM (#2674263)
I'd go for the green eyeshade:

http://en.wikipedia.org/wiki/File:Visorlayout.jpg

Anachronistic, looks absolutely silly if worn today, and was probably only worn by uptight number crunchers even back in the 60's.

Re:The (Programming Language) Hat by hvs on Monday June 20, 2011 @10:29AM (#2674297)
Good call on the green eyeshade.
Re:The (Programming Language) Hat by wisty on Monday June 20, 2011 @10:25AM (#2674282)
Perhaps COBOL can get a straw boater?
Re:The (Programming Language) Hat by a3_nm on Monday June 20, 2011 @12:48PM (#2674962)
What's the Hatter hat, then?

http://esolangs.org/wiki/Hatter