BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 18582 thumbnail
User 209130 avatar

By ace77
via shlomifish.org
Published: Apr 12 2007 / 13:15

What makes programming languages are suitable or unsuitable as introductory languages? 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.
  • 9
  • 0
  • 2305
  • 1

Comments

Add your comment
User 209881 avatar

pcx99 replied ago:

0 votes Vote down Vote up Reply

The best introductory language is, hands down, Javascript. It's ubiquitous and free. It's interpreted so results can be had as quickly as you can hit the reload button. It can teach classical procedural programming but it's also thoroughly Object Oriented. And it supports advanced concepts like lambda and closures. In short, javascript is as advanced as you want it to be.

User 225122 avatar

Evidence replied ago:

-1 votes Vote down Vote up Reply

pcx99

While javascript is a powerful tool, I do not feel it's best for a beginner. While it's nice that it is client-side, Javascript doesn't enforce some proper coding techniques (such as ending lines of code with a semi-colon). I've found PHP to really be the best for anyone who is learning.

User 60609 avatar

sigzero replied ago:

1 votes Vote down Vote up Reply

Javascript is a *bad* first language in a compsci course setting. PHP sucks for the same reason as Javascript, it focuses too much on the "web" and it pretty bad for doing "regular" stuff.

User 207602 avatar

Jim Wilson replied ago:

0 votes Vote down Vote up Reply

pcx99 - You're absolutely correct on all points. JS is a very good first language for all the reasons you specify (IMHO).

Evidence - proper coding techniques? Some languages use end-of-line to mean end-of-command (Python) and others allow both (Ruby).

sigzero - "regular" stuff? Everything has an environment. JS runs in a browser. PHP runs on a server handling web-page generation. Bash scripts run on a *nix server. VBA modules run inside MS Office apps. To imply that the "web" isn't a subset of "regular" is very strange to me.

User 60609 avatar

sigzero replied ago:

0 votes Vote down Vote up Reply

@jimbowj

That is such a lame argument. If I chose Perl (or Ruby or Python) I could do all of those environments. That fact that JS is web only makes it bad for a first language, if by that you mean compsci first language. PHP is in the same boat as JS even though with PHP you *can* program on the command line, I wouldn't. Python is currently the choice of MIT.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)