jack: (Default)
[personal profile] jack
And in the René Magritte[1] stakes, in the staionary cupboard there is a box of invisible tape -- that doesn't have anything in! Truth in advertising?

[1] René Magritte famously produced a painting of a pipe captioned Ceci n'est pas une pipe, or as perl programmers would say, !/|/.

Date: 2006-05-26 12:26 pm (UTC)
From: [identity profile] beckyc.livejournal.com
in the staionary cupboard
Do you have invisible tea in your very-non-moving cupboard?

(Do you have moving cupboards as well?)

Date: 2006-05-26 12:31 pm (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
Ooh yes, revile me! Punish me, mistress. Oops. I don't normally get words *that* wrong :)

Date: 2006-05-26 12:31 pm (UTC)
From: [identity profile] uisgebeatha.livejournal.com
or as perl programmers would say, !/|/

*has Perl relapse* x_x Don't remind me of that language- I've just spend 500 words or so ripping it to shreds for this damned essay!

By my desk I have an invisible eejit mallet, which is deployed invisibly to damage eejits that question my mighty code, and people that distress me. ;)

Date: 2006-05-26 12:35 pm (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
You have to lambast perl? Can I have your job?

It's harder than writing PERL in that you have to preface rolling your forehead across the top row of the keyboard 100 times with "PERL is stupid, all the programs look like:" but easier in that the head-rolling thing actually works[1].

[1] Well, ok, it might produce syntax erros, but only in english, they won't stop it being parsed.

Date: 2006-05-26 12:41 pm (UTC)
From: [identity profile] uisgebeatha.livejournal.com
Heh, I have to lambast Perl, ASP, PHP, JSP, Servlets, Apache Tomcat and IIS for this essay! Hard work finding good things about some of those, actually.

Perl was OK once I got my head round it, but a) regular expressions make baby Jesus cry, b) All the programs look like $%^&*£/\@~# which is Not Java Dammit*, and c) regular expressions are so bad I thought I'd mention them twice.

Interestingly, I got on better with PHP, which is Perl's slightly nicer non-hillbilly cousin, sans the buck teeth and webbed feet. Who needs Perl anyway, eh?


*I bet someone will tell me that's a valid line of Perl and I'll cry. ;_;

Date: 2006-05-26 01:47 pm (UTC)
From: [identity profile] pseudomonas.livejournal.com
Ah, a fan of the quick java sixteen-liner?

Date: 2006-05-26 07:00 pm (UTC)
From: [identity profile] uisgebeatha.livejournal.com
Pardon my novice-ness, but is that a special magic bit of Java code? Or is it a jab at the oh-so-concise public static void main (String [] args) of it all? ;)

(For the record, I have learned other languages alongside Java this year, but Java was given priority because it's fairly easy to pick up and employable, or so they tell me....)

Date: 2006-05-26 07:04 pm (UTC)
From: [identity profile] pseudomonas.livejournal.com
It's the java equivalent of a perl one-liner :)

Date: 2006-05-26 02:14 pm (UTC)
From: [identity profile] pseudomonas.livejournal.com
No, but $%^*&/\@~# is valid perl. Doesn't do anything interesting, though.

Date: 2006-05-26 05:28 pm (UTC)
From: [identity profile] uisgebeatha.livejournal.com
*weeps*

I'll be happy if I never have to work with Perl again. Give me a language that doesn't make me look like $_$ by the end of it and I'll be happy!

Date: 2006-05-26 05:49 pm (UTC)
From: [identity profile] pseudomonas.livejournal.com
You just need to embrace the Way Of The Punctutation.

Date: 2006-05-26 07:05 pm (UTC)
From: [identity profile] uisgebeatha.livejournal.com
Nooes! Java is the One True Way, or so my lecturers told me! Well, I don't mind PHP, but I might as well stick to what I'm good at, eh? ;)


Aside: I peeked at your userinfo and see you've listed Edinburgh and the Uni- are you also a fellow Edinburger? Oh, and yay for dead languages, from a former Classicist. :)

Date: 2006-05-26 10:42 pm (UTC)
From: [identity profile] pseudomonas.livejournal.com
Former Edinburger (and going back there on Sunday), and current Cantabrigian, formerly Londoner and Oxonian.

Date: 2006-05-27 10:51 am (UTC)
From: [identity profile] uisgebeatha.livejournal.com
Cool- fellow Edinburger right here, so if you feel like wibbling about programming languages when you're up just holler. ;) I might be becoming a Cantabrigian again if job application d00m goes well. Nice to see yet another geek who hasn't ripped me to shreds for being such a n00b. :)

Date: 2006-05-27 11:02 am (UTC)
From: [identity profile] pseudomonas.livejournal.com
Nice to see yet another geek who hasn't ripped me to shreds

But I thought I *had*...

Date: 2006-05-26 04:54 pm (UTC)
From: [identity profile] robhu.livejournal.com
To compare Perl to PHP is practically blasphemy.

Date: 2006-05-26 05:27 pm (UTC)
From: [identity profile] uisgebeatha.livejournal.com
Heh, it was another geek that said it, not I. It kind of looks like it, but I refuse to believe that PHP started out as a couple of modified bits of Perl.

Sorry if I have blasphemed; I am but a trainee geek, so forgive me. *flagellates self with USB cable* ^_~

Date: 2006-05-26 08:05 pm (UTC)
From: [identity profile] uisgebeatha.livejournal.com
*ROFL*

Scarily, I used mysql_real_escape_string, mysql_connect and a lot of those random array functions in my group project. That kind of makes me feel better taht I plunged myself into it and kind of understood it. You never know, it might be an Employable Skilltm and all that...

PS- Loving the Firefox icon. If I have anything going for me besides poking PHP, I do at least swear by the better browser. :)

Date: 2006-05-27 01:21 am (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
When I learnt PHP I thought of it as, even leaving aside the C syntax, midway between C and perl. This metaphor worked to the extent that when I learnt Perl I guessed quite well what it could do, in that those bits of PHP that weren't C.

regular expressions are so bad I thought I'd mention them twice.

They're great for matching simple strings. The trouble is they *can* be used to match complicatd things, so people *do*. We need something better, that's less unreadable -- putting regexs in variables and building up like that helps a bit, but people always think that because they CAN do it all in one line they SHOULD...

Heh, I have to lambast Perl, ASP, PHP, JSP, Servlets, Apache Tomcat and IIS for this essay!

Cool. I could probably write 5k words about the names alone ".. really really really ... stupid"

Date: 2006-05-26 02:21 pm (UTC)
From: [identity profile] pseudomonas.livejournal.com
Ah, but !/|/ == this hasn't got a '' or a ''. René probably meant !/\|/, which is starting to look too 13375P34K for me.

Date: 2006-05-27 01:22 am (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
Doh. I never used | without a () so forgot you could.

Date: 2006-05-26 06:26 pm (UTC)
From: [identity profile] miss-next.livejournal.com
*says nothing, loudly*

:-)