Mode:
Duration:
1
2
3
4
5
6
steps := 10
pos := 0
for(i,1,steps, do(
if(rand() < 0.5, pos = pos + 1, pos = pos - 1)
write(pos .. "\n")
))Coding works best on desktop or with an external keyboard.
steps := 10
pos := 0
for(i,1,steps, do(
if(rand() < 0.5, pos = pos + 1, pos = pos - 1)
write(pos .. "\n")
))Coding works best on desktop or with an external keyboard.
Simulates a 1D random walk.
steps := 10
pos := 0
for(i,1,steps, do(
if(rand() < 0.5, pos = pos + 1, pos = pos - 1)
write(pos .. "\n")
))Io is a small, prototype-based, object-oriented programming language designed for simplicity, concurrency, and rapid development of distributed applications. It emphasizes minimal syntax, message-passing, and highly dynamic objects.
Origin & Creator
Developed in 2002 by Steve Dekorte.
Industrial Note
Io is valued in niche domains where lightweight, dynamic, and concurrent scripting is required, particularly in experimental software, rapid prototyping, and small-scale distributed systems.