Traits In the Merriam Webster, a trait is defined as: an inherited characteristic a distinguishing quality In programming languages that support it, for example PHP, Java, Rust, etc., a trait provides a set of methods that implements behaviour to a class, and require...
Traits, tests and things I learned
read more