how to create trait programmatically? Here you go: trait := Trait named: #MyProgrammaticallyCreatedTrait. You can also do the same trick with classes, btw: newclass := Object subclass: #MyNewClass. ;)
-- Best regards, Igor Stasenko.