Linked by Thom Holwerda on Wed 11th Apr 2007 16:35 UTC, submitted by ShlomiFish
General Development "What makes programming languages are suitable or unsuitable as introductory languages? Which languages are better learnt first and at which order? And why what the masses think is the most suitable introductory programming language is not in fact that. This paper examines several approaches to which programming language is the best, and afterwards gives several useful relations for which languages should come first. Finally it gives a final verdict, defends it and then gives some other good food for thought."
Thread beginning with comment 229628
To read all comments associated with this story, please click here.
PHP!
by Alex Forster on Wed 11th Apr 2007 18:11 UTC
Alex Forster
Member since:
2005-08-12

This is probably an odd choice for a first language, but I picked up PHP on the first read through of a book I bought back in the PHP3 days. I found later when I started teaching myself C that the similarities in concept and syntax made it absolutely painless (the hardest thing for me to grasp was the difference between #include and include(), which is a testament). I constantly advocate PHP as a first language when people ask about learning to program.

Edited 2007-04-11 18:12 UTC

Reply Score: 3

RE: PHP!
by Invincible Cow on Wed 11th Apr 2007 18:17 in reply to "PHP!"
Invincible Cow Member since:
2006-06-24

1) Php makes it easy to write spaghetti code
2) Php is basically useless without HTML knowledge and useless for anything but web programming.

So they have to learn HTML first. When you are done there's not enough time to learn PHP.

Reply Parent Score: 1

RE[2]: PHP!
by Alex Forster on Wed 11th Apr 2007 18:45 in reply to "RE: PHP!"
Alex Forster Member since:
2005-08-12

1) Php makes it easy to write spaghetti code


What? So does every other language with control structures...

2) Php is basically useless without HTML knowledge and useless for anything but web programming.


Even an elementary knowledge of PHP lets people write useful web applcations. You write your calculator in Perl, and I'll write my blog in PHP. At similar skill levels, each is reasonable. And I know people who don't understand the separation between "Windows" and "the computer" that have learned an impressive amount of HTML and CSS just in editing their livejournals, myspaces, etc.

Reply Parent Score: 2

RE[2]: PHP!
by StephenBeDoper on Thu 12th Apr 2007 03:20 in reply to "RE: PHP!"
StephenBeDoper Member since:
2005-07-06

IIRC, someone was working on GTK/Gnome bindings for PHP.

Reply Parent Score: 2

RE[2]: PHP!
by pepa on Thu 12th Apr 2007 05:38 in reply to "RE: PHP!"
pepa Member since:
2005-07-08

You can program in PHP without using any HTML, just like any scripting language.

Reply Parent Score: 2