Let’s say olle is a Person object.
olle fullname := method(firstname .. " " .. lastname)I was taught this at the IRC channel #io at Freenode.
It could be added to the manual part on Strings
I added it to the wikibooks wiki page on Io
Let’s say olle is a Person object.
olle fullname := method(firstname .. " " .. lastname)I was taught this at the IRC channel #io at Freenode.
It could be added to the manual part on Strings
I added it to the wikibooks wiki page on Io
The mailing list is very active these days, and a while ago it was this great: “Whither true” debate.
Tobias’ and mine idea of “Should it be in the language” is this: if it’s trivial to implement it in Io, and it’s used by many folks, then it should just be in the language already.
And Io’s been getting updated, and fixed on, a lot these days.
Steve says that the online reference docs should be fixed up enough so they could go in a book. Great.
At the reboot7 conference, I became “the enthusiast” for Io.
Matt Webb held a presentation on the future of programming (hint: it is Duck typing), and he said things about being able to hot-wire the running language and replace methods and so forth.
I was all “me, me, me!” and held up my hand, and blurted out a sound-bite description on how to use slots in Io, that it was created by S. Dekorte in 2002 and that it is prototype-based (“which is cool, like all of you who have a sophisticated view of JavaScript already know”).
Later that evening, I met a lot of dynamic language programmers. They all remembered me from the session during which I’d been… vocal and enthusiastic. It won me fine friends.
Hi!
Having found the Io language, I am very pleased. After Googling a little, I saw that the web does not offer very much in the way of resources. Which was fine by me, because I just Skyped a friend of mine, who walked me through the basic bits, defining the fine print for me.
The trouble came today, after reading and thinking a bit more. I am currently on Windows with Io, which hampers my progress a bit. The examples in the Apps dir do not run, as ResourceManager.io somehow can not be found.
I tried to solve this by adding all dirs with Io-stuff to my path, but to no avail.
Perhaps I should copy the file to a the same dir as the caller. Result: the included files are found, but after a few copying more and more stuff into the same dir I got another type of error:
TextureGroup: missing textures in set Buttons/PushLabel Line Char Message
------------------------------------------------
doString 131 3488 raise("TextureGroup", "missing textures )...
Calc 5 70 Button
Importer 38 1084 find(thisMessage name)
[unlabeled] 0 0 execute_io(p, name, extension)
Importer 18 497 executeString(name, s)
doString 13 268 setTexturesPath("Buttons/Push")
doString 10 228 openSet(path)
doString 25 773 loadGroupNamed(path)
Anyway, I find the syntax interesting, the concept of “slots” very smart. My mentor told me about the likeness with JavaScript and alerted me to the existence of two interesting JS OO articles at Sitepoint.