RustConf 2018 - No Spaghetti: Designing for Understanding by Brandon W. Maister

365 views · Published 6 September 2018 · 31:04 · Indexed 23 October 2026

Channel: Confreaks · 2018 · Science & Technology

Watch on YouTube

RustConf 2018 - The Opposite of Spaghetti Code: Building for Understanding by  Brandon W. Maister

Every moderately sized project is both a library and a consumer. Rust has an almost dizzying array of features that can be used to add structure and hide information.

In this talk we'll discuss using types, traits, modules and crates as the tools of encapsulation. To show how they work together to effectively superseed similar information-hiding tools in procedural and OO languages we'll grow a simple type into a collection of language objects. We'll discuss the thought processes that go into deciding to add a layer of abstraction, and how to use each layer to maximum effect.

More from this channel