{"product_id":"idiomatic-rust-code-like-a-rustacean-9781633437463","title":"Idiomatic Rust: Code Like a Rustacean","description":"\u003cb\u003eTips, tricks, design patterns, and secret features of Rust that will help you build stable and maintainable applications.\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003eWhether you're a Rust beginner or a pro, \u003ci\u003eIdiomatic Rust\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003eIn \u003ci\u003eIdiomatic Rust\u003c\/i\u003e you'll learn how to apply important design patterns including: \u003cp\u003e\u003c\/p\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 \u003cp\u003e\u003c\/p\u003e \u003ci\u003eIdiomatic Rust\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003e Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the technology\u003c\/b\u003e \u003cp\u003e\u003c\/p\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. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the book\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003ci\u003eIdiomatic Rust\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eWhat's inside\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e- Creating delightful APIs\u003cbr\u003e - Applying Builder and other classic design patterns\u003cbr\u003e - Functional programming patterns\u003cbr\u003e - Rust anti-patterns \u003cp\u003e\u003c\/p\u003e\u003cb\u003eAbout the reader\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e For intermediate Rust programmers. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the author\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003cb\u003eBrenden Matthews\u003c\/b\u003e is a member of the Apache Software Foundation, creator of the system monitor Conky, and author of \u003ci\u003eCode Like a Pro in Rust\u003c\/i\u003e. \u003cp\u003e\u003c\/p\u003eThe technical editor on this book was \u003cb\u003eAlain M Couniot\u003c\/b\u003e. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eTable of Contents\u003c\/b\u003e \u003cp\u003e\u003c\/p\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\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAbout the Author\u003c\/b\u003e\u003cbr\u003e\u003cb\u003eBrenden Matthews\u003c\/b\u003e is a software engineer, entrepreneur, and a prolific open source contributor. He has been using Rust since the early days of the language, and has contributed to a number of Rust tools and OS projects.\u003cbr\u003e","brand":"Manning Publications","offers":[{"title":"Default Title","offer_id":50900306034962,"sku":"9781633437463","price":55.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0831\/4771\/8930\/files\/img_eb0fa045-e49b-4522-a893-2faccf5ea7cc.jpg?v=1738379104","url":"https:\/\/surprise-castle.myshopify.com\/products\/idiomatic-rust-code-like-a-rustacean-9781633437463","provider":"Surprise Castle","version":"1.0","type":"link"}