[e-lang] again, basic flow == control flow?
zuzu
sean.zuzu at gmail.com
Sat Jul 24 02:11:10 EDT 2004
procedural loop blocks? if-then-else conditionals? yuck!
sorry for acting the grumpy guss; perhaps this is merely due to
building atop Java, but i can't understand how E is an actor language
when it looks nothing like one in the intro examples and looks more
like C++/Java (again, perhaps understandably) than a pure
object-oriented syntax.
perhaps i must distill the *concepts* and make my best implementation
guess in a pure-OO environment like the Ruby language.
-z
p.s. the list feels quiet so far; is there a more active forum for E
discussion? IRC or a web BBS or something? or is this just a blip in
the list volume? (again, i don't mean to bitch; i'm just excited to
understand E.)
http://www.erights.org/elang/quick-ref.html#Flow
Basic Flow
if (a == b) {
println("match")
} else {
println("no match")
}
while (a < b) {
a += 1
}
try {
3 _/ 0
} catch err {
println("error: " + err)
} finally {
println("always")
}
for next in 1..3 {
println(next)
}
for key => value in map {
println("got pair")
}
More information about the e-lang
mailing list