BYTE.com
RSS feed

Newsletter
Free E-mail Newsletter from BYTE.com
Email Address
First Name
Last Name




 
    
             
BYTE.com > Mr. Computer Language Person > 2006

StarLogo TNG

By Martin Heller

March 6, 2006

(StarLogo TNG :  Page 1 of 1 )



Graphical programming has been a dream for as long as I can remember. Not my dream, mind you--someone else's dream. Every time I have tried someone's nifty graphical programming environment, I have gotten frustrated and gone back to real programming with a written syntax, being by nature a language-oriented guy.

On the other hand, learning a programming language takes a certain level of development. I have met a few middle-school students who have gotten to that level, along with many high-school students and most college students.

The MIT Teacher Education Program has targeted the middle-school and high-school group with StarLogo TNG, "The Next Generation of StarLogo modeling and simulation software." I wrote about StarLogo 2.0 in October, 2002; I also tied StarLogo back to its origins in the original Logo implementation of 1967, and through Seymour Papert of MIT back to Papert's teacher, the constructivist Jean Piaget.

As an example of StarLogo 2.0 programming, I explained the Termite simulation. StarLogo TNG also comes with a Termite simulation. However, the implementation is graphical. The StarLogo Go button runs a short infinite loop:


to go
  search-for-chip   ; find a wood chip and pick it up
  find-new-pile     ; find another wood chip
  find-empty-spot   ; find a place to put down wood chip
end

The equivalent in StarLogo TNG is:

The switch at the lower left of the Forever block turns the simulation on and off. Notice how the Wiggle routine block fits into the extension at the top right of the Forever block, how the ifelse block has a rounded fitting at the top right for a test, and sequence fittings for the then and else branches of the test results.

 Page 1 of 1 


BYTE.com > Mr. Computer Language Person > 2006
Dr. Dobb's Media Center

What Zope Did Wrong (and How It's Being Fixed)
Dr. Dobb's talks with Lennart Regebro about the many things that Zope 2 did right and did wrong. Lennart has also been one of the driving forces behind Five, the integration of Zope 3 technologies into Zope 2.

Ubuntu and the Software Around It
Dr. Dobb's interviews Ubuntu's Gerry Carr about the Linux-based Ubuntu operating sytem and the application lifecycle tools -- such as the recently released Launchpad -- that surround it.

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE: Volume 2 - Heuristic Algorithms
The Best of BYTE: Volume 2 - Heuristic Algorithms
In this volume of Best of BYTE, we explore the emergence of some heuristic algorithms. Although we have only scratched the surface of this intriguing subject, we hope we've suggested the potential of the synthesis of heuristics and algorithms.

© 2008 Think Services, Privacy Policy, Terms of Service, United Business Media Limited
Site comments: webmaster@byte.com
Web Sites: BYTE.com, dotnetjunkies.com, Dr. Dobb's Journal, SD Expo, Sys Admin, sqljunkies.com, Unixreview



MarketPlace
simple helix is the most trusted name in the hosting industry! Join us and host with the experts!
HP network adapters help get the most from your virtualized servers. Learn more at HP.IntelVT.com.
and develop 10 times faster ! ALM, IDE, .Net, PDF, 5GL, Database, 64-bit, etc. Free Express version
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.
Evaluate expressions defined at runtime. See why customers prefer uCalc, and why you will too.
Wanna see your ad here?
 

web2