S
Sam Kong
Hi!
A friend of mine challenged me with Smalltalk.
He's a big fan of Smalltalk.
He asked me what I can do if I want to add "try ~ finally ~" systax in
Ruby.
Yes, we already have "begin ~ ensure ~".
But he asked me whether Ruby is flexible enough to extend such a thing
without changing the language itself.
He said that Smalltalk doesn't have "try ~ finally ~" in the language
but can be defined without changing the language.
Personally, I don't think such flexibility is really needed.
However, I want to defend Ruby.
How would you react such an attack?
Disclaimer: This post is not for language flame war but for better
understanding of Ruby.
Thanks.
Sam
A friend of mine challenged me with Smalltalk.
He's a big fan of Smalltalk.
He asked me what I can do if I want to add "try ~ finally ~" systax in
Ruby.
Yes, we already have "begin ~ ensure ~".
But he asked me whether Ruby is flexible enough to extend such a thing
without changing the language itself.
He said that Smalltalk doesn't have "try ~ finally ~" in the language
but can be defined without changing the language.
Personally, I don't think such flexibility is really needed.
However, I want to defend Ruby.
How would you react such an attack?
Disclaimer: This post is not for language flame war but for better
understanding of Ruby.
Thanks.
Sam