21 comments

14

Python: You type in

import heroic_knight
princess.rescue = true

and wonder why other people make things so hard for themselves.

2

Then you get two stack traces

4
import heroic_knight
from global_standards.western import legal_age
princess_store = {}
if princess.age < legal_age: 
    princess = heroic_knight.do_rescue(princess)
    princess_store[princess.name] = princess
elif princess.age <= 29: heroic_knight.do_rescue(princess)
else: pass
3
3

I wonder how rescuing princess in Haskell would look like.

4

You just need to apply the rescue function on the princess in the world monad, but it is too lazy to do that.

3

Rescuing the princess is impossible, since both the princess and castle are immutable.

Instead, you make a new princess that is free but otherwise identical.

3

There are worse languages than PHP (that I've been forced to support), like ASP Classic and Coldfusion.

I'd take PHP over those 2 any day!

1

PHP is like a greasy hamburger. There's probably more stuff in there than you really need but hey, it gets the job done for pretty much everyone and it tastes alright.

3
10 PRINT "I'M COMING PRINCESS! ";
20 GOTO 10
2
05 REM WEDDING KNIGHT
2

Ahahaha. Lisp has brackets. Haha. Yeah.

1

I was wondering what the comic was trying to say. I've been programming in Lisp long enough that languages without fully parenthesized prefix notation seem harder to read.

1

It's odd, but I actually enjoy the problem solving aspect of doing things in an alien way. I coded in C like languages for so long, it took me ages to get used to it.

Lisp is love, lisp is life

-1

PHP is not that bad. Suicide? Really? PHP is rather simple actually.

1

PHP is that bad.