Method

> How to do it.

See "First look at Objects, Classes, Methods and Messages" pdf

The Smalltalk code is stored in what is called a method, which corresponds (approximately) to a named Lisp lambda-expression. As for classes, a textual representation may be obtained just by sending introspective messages. [:x | x+1] is equivalent to the (lambda (x) (+ x 1)) Lisp expression.

[:x | x+1]

It is represented by an object – a `FullBlockClosure` – from which one can ask for its external textual representation. In order to get their external textual representation, methods and lexical closures, denoted under the vocable block, use their internal representation, which mainly comprises bytecodes, as well as a decompiler (which is reified, too). A special tool (CompiledCodeInspector) makes the access to this source representation very user friendly, using the mouse and a click on a field.

~

Need to define method, tool, affordance, model and more. See Methods.

[…] the suggestion to pass from What-Questions to How-Questions (with Kant: as a question about the conditions of possibility), but the transcendental dissolution of the circle of cognition, which has to presuppose itself, hardly finds approval today; because it had to prove what had to be renounced, namely the essence cosmos and the cognizability of the thing in itself, as an achievement of consciousness.