{"product_id":"rust-design-patterns","title":"Rust Design Patterns","description":"Tips, tricks, design patterns, and secret features of Rust that will help you build stable and maintainable applications.\u003cbr\u003e\u003cbr\u003eWhether you’re a Rust beginner or a pro, Idiomatic Rust will teach you to be a better Rust programmer. It introduces essential design patterns for Rust software with detailed explanations, and code samples that encourage you to get stuck in.\u003cbr\u003e \u003cbr\u003eIn Idiomatic Rust you’ll learn how to apply important design patterns including:\u003cbr\u003e \u003cbr\u003e• Fluent interfaces for creating delightful APIs\u003cbr\u003e • The Builder pattern to encapsulate data and perform initialization\u003cbr\u003e • Immutable data structures that help you avoid hard-to-debug data race conditions\u003cbr\u003e • Functional programming patterns\u003cbr\u003e • Anti-patterns and what not to do in Rust\u003cbr\u003e \u003cbr\u003e Idiomatic Rust catalogs, documents, and describes both how classic design patterns work with Rust, and the new Rust-specific patterns that will help you master the language. Each pattern or best practice helps solve common programming problems and ensure your code is easy for others to understand. You’ll learn when to use each pattern—and when to break it! You’ll soon be producing higher-quality Rust code and higher-quality Rust software.\u003cbr\u003e \u003cbr\u003e Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications\u003cbr\u003e \u003cbr\u003e About the technology\u003cbr\u003e \u003cbr\u003e After you’re comfortable with Rust’s syntax and its uniquely-powerful compiler, there’s a whole new dimension to explore as you put it to use in real projects. How do you apply standard design patterns in Rust applications? Where and why should you use IntoIterator? Why do Rustaceans love the PhantomData type? This book answers these questions and many, many more.\u003cbr\u003e \u003cbr\u003e About the book\u003cbr\u003e \u003cbr\u003e Idiomatic Rust introduces the coding and design patterns you’ll need to take advantage of Rust’s unique language design. This book’s clear explanations and reusable code examples help you explore metaprogramming, build your own libraries, create fluent interfaces, and more. Along the way, you’ll learn how to write efficient, idiomatic Rust code that’s easy to maintain and evolve as you learn how the language works under the hood.\u003cbr\u003e \u003cbr\u003e What''s inside\u003cbr\u003e \u003cbr\u003e• Creating delightful APIs\u003cbr\u003e • Applying Builder and other classic design patterns\u003cbr\u003e • Functional programming patterns\u003cbr\u003e • Rust anti-patterns\u003cbr\u003e \u003cbr\u003eAbout the reader\u003cbr\u003e \u003cbr\u003e For intermediate Rust programmers.\u003cbr\u003e \u003cbr\u003e About the author\u003cbr\u003e \u003cbr\u003e Brenden Matthews is a member of the Apache Software Foundation, creator of the system monitor Conky, and author of Code Like a Pro in Rust.\u003cbr\u003e \u003cbr\u003eThe technical editor on this book was Alain M Couniot.\u003cbr\u003e \u003cbr\u003e Table of Contents\u003cbr\u003e \u003cbr\u003e PART 1\u003cbr\u003e 1 Rust-y patterns\u003cbr\u003e 2 Rust’s basic building blocks\u003cbr\u003e 3 Code flow\u003cbr\u003e PART 2\u003cbr\u003e 4 Introductory patterns\u003cbr\u003e 5 Design patterns: Beyond the basics\u003cbr\u003e 6 Designing a library\u003cbr\u003e PART 3\u003cbr\u003e 7 Using traits, generics, and structs for specialized tasks\u003cbr\u003e 8 State machines, coroutines, macros, and preludes\u003cbr\u003e PART 4\u003cbr\u003e 9 Immutability\u003cbr\u003e 10 Antipatterns\u003cbr\u003e A Installing Rust","brand":"Manning Publications","offers":[{"title":"Default Title","offer_id":58574777745743,"sku":"9781633437463","price":96.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0061\/0372\/8217\/files\/9781633437463_1-rust-design-patterns.jpg?v=1787814038","url":"https:\/\/www.suomalainen.com\/products\/rust-design-patterns","provider":"Suomalainen.com","version":"1.0","type":"link"}