The Io Language - so close, yet so far

Comments

Perhaps totally missed the point here, but why don't you just clone Object and put in a boolean slot with your own ifTrue/ifFalse methods, etc? Overwriting the behavior of basic language constructs is considered bad practice, or so is my understanding.

It does seem to be an oversight that the "asBoolean" method can't be overridden, however. Especially for such a strongly metaprogramming focused language as IO.

Post a comment

Already a Vox member? Sign in

Randal Schwartz

About Me

Randal Schwartz
United States
Just another [insert technology here] hacker!
Jaiku:
merlyn

My Groups

Neighborhood

Explore friends, family, friends & family, or entire neighborhood.

Archives