July 30, 2015Filed under micro#software developmentMarkdown source

Another little feature of Rust I quite like: the use of traits instead of inheritance to share behavior. All the benefits of inheritance, and a few more besides, but none of the drawbacks.