O'Reilly    
 Published on O'Reilly (http://oreilly.com/)
 See this if you're having trouble printing code examples


Date: April 2001
From: Peter Hogg
To: Frankly Speaking
Subject: Web Design Languages

Hey,

I've got a question for ya'. I'm 13 (I'll be 14 on March 27) and I know a pretty good amount of HTML and JavaScript. I've been designing Web pages for small companies in my area for a while, and I would like to go into the Web design business after college. Can you recommend any other languages I should learn or books I should read? Right now I'm trying to learn Flash 5 and after that I'm gonna' try to learn Java.

Oh yeah, I'm also trying to find some cool summer internships but there don't seem to be any around here (I'm in Washington state)! Do you know of any Web sites that have internship listings or something?

Thanks,
Peter Hogg


Dear Peter:

I'll give you my standard advice first: Don't spend the whole summer inside writing code. You have your whole miserable adult life to do that. I'm forty years older than you are, and I spend all my waking hours typing on a silly computer, answering emails from people I don't know. If I hadn't spent my teenage summers at the community pool flirting with Sue Jenkins (what a babe!), I'd be a miserable old goat now. Plan to have some fun this summer, in person. Note that "internship" and "internment camp" both start with "intern." (And seriously -- I don't know of any good sites for finding internships. I'm sorry.)

As for languages to learn: Flash is good, but you should run from Java. That's my advice. It's a language for people who want a career. It's a serious language and a serious commitment. If there were a religion based on computing, novices, sworn to silence, would learn Java; sad-eyed monks would move on to C++; and emaciated mystics would molder in their barren cells writing LISP code.

Computer-savvy teens tell me that PHP is the ticket for Web programming. It provides you with the functionality you need to do interesting Web applications with the least amount of unnecessary overhead. We have a PHP Pocket Reference you might want to look at, but there are lots of free example scripts on the Web, I'm told.

JavaScript, as you note, is another possibility. We have a book, Designing with JavaScript, which is a nice, easy introduction to Web programming with JavaScript. (Interestingly, the first edition was written by Nick Heinle when he was young--17 years old, as I recall. But he's not young anymore.)

Perl is always a good choice. We love Perl here at O'Reilly. There is so much Perl on the Web that you can usually find a script that does exactly what you want. We've got lots of good Perl books, but Learning Perl, 2nd Edition is a good place to start. One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks.

If you read my column, you won't be surprised to see that my final and highest recommendation is Python. It's an easy-to-use programming language with many of the virtues of Perl and PHP--interactive development, RAD, object orientation, and lots of examples of Web use--but it also enforces good programming practices. I wouldn't want you to learn bad habits at a young age (at least, not bad programming habits) that you'll regret when you have to get serious later. Python also provides a dialect called Jython that makes the eventual transition to Java easier. (Yes, my son, someday you'll probably decide to learn Java, and I won't try to stop you.) We have a book, Learning Python, that will get you up and going. It's a good book. I know: I spent good summer sunshiny hours editing it.

I hope you had a nice birthday. Sorry I missed it. I missed my own birthday this year. I was reading email and when I looked up, it was over.

Go get crazy. Find your Sue Jenkins. Then, if you must, code.

Sincerely,

Frank Willison
Editor-in-Chief
O'Reilly & Associates

Return to: Frankly Speaking

Copyright © 2009 O'Reilly Media, Inc.