Skip navigation

  • PHP fails gracefully. Java crashes and burns.

    Say variable var doesn’t exist yet. We have 2 lines of code:

    # php:
    $var = 230;
    // java
    var = 230;

    Undefined variable? In php the principle is . . if it doesn’t already exist. . php creates it. You don’t DECLARE variables in php. You just use them. Like in JavaScript.

    Java? STATUS 500. THIS PAGE HAS CRASHED AND BURNED, because of an undefined variable.

  • In php, you don’t have to restart tomcat. or whatever webserver you’re using. hardly ever.
  • there’s more……….


    • me
    • Posted November 1, 2011 at 10:21 am
    • Permalink

    90% of the time spent on a project is maintaining and upgrading.

    Try to understand the code of a relatively small and well organized project such as WordPress. It’s a nightmare.

    • ProGrammer
    • Posted April 24, 2012 at 12:54 am
    • Permalink

    You have no clue what you are talking about.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: