A small (and objective) taste of Objective-Smalltalk

A small (and objective) taste of Objective-Smalltalk

The pipe “operator” is for method chaining with keyword syntax without having to bracket like crazy:

The first property path, returns the size of the given table, using the optimised SQL code . A step in that direction is the property path:

Similar to defining the method above as simple the parametrized string literal instead of as instructions to build the result string, object literals allow us to simple write down general objects instead of constructing them. With that information in hand, and with the Objective-Smalltalk runtime providing class definition objects that can be used to install objects with utheir methods in the runtime, we now have enough information to create some classes straight from the SQL table definitions, without going through the intermediate steps of generating source code, adding that to a project and compiling it.

Source: blog.metaobject.com