What do Interpreted Programming Languages have in Common? Part II

Posted by tripwire45 on Dec 10, 2009 8:11 AM EDT
A Million Chimpanzees; By James Pyles
Mail this story
Print this story

I begin this tutorial a few weeks ago with Part I and received some very nice comments correcting my (fortunately) minor errors. This isn't a tutorial about how to program in a specific language or even really about how to program. I wanted to show the common structure of interpreted programming languages in the hopes of revealing some common threads, rather than focusing on the ins and outs of one language. I've heard it said that if you learn one language, it makes learning the next one easier. My problem is I get lost in the nuances of the language in question and lose track of the basic structure of programming...

...I've created this tutorial series to try and correct that. This tutorial is for my education as much as anyone else's so I welcome comments but, as I said before, be polite. This is about learning.



Speaking of Languages, code examples are presented in JavaScript, Python, and Ruby. I figured this represented a healthy cross-section of commonly used interpreted languages. Now, on with the show.



In our last episode (sorry, couldn't resist), we left off with Arrays and Booleans. The tutorial picks up with methods of flow control. According to Wikipedia, flow control is "a statement whose execution results in a choice being made as to which of two or more paths should be followed. For non-strict functional languages, functions and language constructs exist to achieve the same result, but they are not necessarily called control flow statements." In other words, it's a way of making decisions within the program given different conditions. Speaking of which...

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: PHP

« Return to the newswire homepage

Subject Topic Starter Replies Views Last Post
don't you mean... tbuitenh 0 956 Dec 10, 2009 1:36 PM

You cannot post until you login.