This Month's posts

Archive for March 30th, 2005

Happy Birthday

Wednesday, March 30th, 2005

..to me.

I just got a call from Aaron wishing me a happy birthday. That’s right its my birthday (not on the west coast yet, but Aaron’s in Oklahoma, so its already my birthday there).

Anyway, if anyone would like to join in some celebration, I think there will be some of us going out on Haight St here in San Francisco. We’ll probably start at Aub Zam Zam around 8 PM and move on to wherever we like. Give me an email (ryan at this domain) and I’ll give you my cell phone number, in case you want to join in later.

Python never had a chance against PHP

Wednesday, March 30th, 2005

From Python never had a chance against PHP:

Also people continue to confuse simplicity with deficiency.

Well said and a good article about why web development with PHP is comfortable for many people.

PHP Hackery

Wednesday, March 30th, 2005

I just found this article called Five Things You Didn’t Know You Could Do with PHP. An interesting read for any PHP hackers out there.

The only one I didn’t know about was #1- apparently this is legal:

< ?php
switch (TRUE) {
        case ($age < 16):
                echo 'You cannot drive.';
                break;
        case ($age < 18):
                echo 'You cannot vote.';
                break;
        case ($age < 21):
                echo 'You cannot drink.';
                break;
        case ($age > 65):
                echo 'You should be retired.';
                break;
        default:
                echo 'Work, work, work...';
                break;
?}
?>

Saves a bit of space/typing versus if/elseif/else, but other than that I’m not sure how useful it is.