Trait (computer programming) - Other languages