Smalltalk
›
Usenets
›
Dolphin Smalltalk
Search
everywhere
only in this topic
Advanced Search
disposableMethod
‹
Previous Topic
Next Topic
›
Classic
List
Threaded
♦
♦
Locked
2 messages
Howard Oh
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
disposableMethod
I found below very interesting. It reminds me of Russell's paradox .
Object compile:
'disposableMethod
[^''You will never see this message ever again!!'']
ensure: [ self class compile: ''disposableMethod'' ]'.
Chris Uppal-3
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: disposableMethod
Howard Oh wrote:
> Object compile:
> 'disposableMethod
>
> [^''You will never see this message ever again!!'']
> ensure: [ self class compile: ''disposableMethod'' ]'.
Nice. Now to try to think of a use for it...
-- chris
Free forum by Nabble
Edit this page