FACTOID # 12: Americans and Icelanders go to the cinema 5 times a year, on average. The average Japanese person goes only once.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

Encyclopedia > Io programming language
Wikibooks Programming has more about this subject:

Io is a pure object-oriented programming language inspired by Smalltalk, Self, Lua, Lisp and NewtonScript. Io has a prototype-based object model similar to the ones in Self and NewtonScript, eliminating the distinction between instance and class. Like Smalltalk, everything is an object and there is dynamic typing. Like Lisp, there are no statements, flow control is achieved using functions, and programs are just data trees. Io uses actors for concurrency, a technique rarely used in modern programming languages. Image File history File links Wikibooks-logo-en. ... Object-oriented programming (OOP) is a computer programming paradigm in which a software system is modeled as a set of objects that interact with each other. ... Computer code (HTML with JavaScript) in a tool that uses syntax highlighting (colors) to help the developer see the purpose of each piece of code. ... Smalltalk is an object-oriented, dynamically typed, reflective, programming language designed at Xerox PARC by Alan Kay, Dan Ingalls, Ted Kaehler, Adele Goldberg, and others during the 1970s, influenced by Sketchpad and Simula. ... Self is an object-oriented programming language based on the concept of prototypes. ... The Lua (pronounced LOO-ah, or in IPA) programming language is a lightweight, reflective, imperative and procedural language, designed as a scripting language with extensible semantics as a primary goal. ... Lisp is a family of computer programming languages with a long history and a distinctive fully-parenthesized syntax. ... NewtonScript is an prototype based programming language created to write programs for the Apple Newton. ... Prototype-based programming is a style and subset of object-oriented programming in which classes are not present, and behaviour reuse (known as inheritance in class-based languages) is done by cloning existing objects which serve as prototypes for the new ones. ... The introduction to this article provides insufficient context for those unfamiliar with the subject matter. ... Classes can refer to: social class scientific classification class (object-oriented programming) a subject in school see also class. ... On computer science, a datatype (often simply type) is a name or label for a set of values and some operations which can be performed on that set of values. ... In computer science, the Actor model, first published in 1973, is a mathematical model of concurrent computation. ...


Remarkable features of Io are its minimal size, efficiency and openness to using external code resources. Io is executed by a small, portable virtual machine. In general terms, a virtual machine in computer science is software that creates an environment between the computer platform and the end user in which the end user can operate software. ...


Below are some examples of code in Io:

 //C++ style comments can be used #as can shell-style comments /* and C-style comments */ "Hello world" print //hello world for(i, 1, 10, i print) //prints numbers 1 through 10 1 to(10) foreach(i, i print) //so does this x := Object clone //Smalltalk style object syntax; ':=' used for new slots x = Map clone //when overwriting, '=' is used. x prettyprint := method( //make a method with no arguments foreach(key, value, write(key, ": ", value, "n")) //loop through map ) x atPut("hi", 1) //put key-value pair into map x atPut("hello", 2) x prettyprint /* output: hi: 1 hello: 2 */ 

File reading:

 f := File openForReading("/Depot/InstalledSourceFiles.html") # Now you can use f to do stuff like f readLines 


Io was created in 2002 by Steve Dekorte and can be used under a BSD-style licence. For the Cusco album, see 2002 (album). ...


External links


  Results from FactBites:
 
Io programming language - Wikipedia, the free encyclopedia (226 words)
Io is a pure object-oriented programming language inspired by Smalltalk, Self, Lua, Lisp and NewtonScript.
Io uses actors for concurrency, a technique rarely used in modern programming languages.
Io is executed by a small, portable virtual machine.
Io - Wikipedia, the free encyclopedia (283 words)
In Greek mythology, Io (IPA [ˈaɪoʊ] or [ˈiːoʊ]) was the daughter of Inachus, a river god.
Io (voievodal title particle) abbreviation of John (romanian: Ioan, latin:Ioannes), meaning "by the grace of God".
"Io" is the particle preceding the name of Romanian (Wallachian and Moldavian) voievods (rulers) during the middle ages.
  More results at FactBites »

 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your location
Your comments
Please enter the 5-letter protection code


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.