Idiomatic Rust: Code like a Rustacean
Book information
Description
Tips, tricks, design patterns, and secret features of Rust that will help you build stable and maintainable applications. Whether 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. InIdiomatic Rust you'll learn how to apply important design patterns including Fluent interfaces for creating delightful APIs The Builder pattern to encapsulate data and perform initialization Immutable data structures that help you avoid hard-to-debug data race conditions Functional programming patterns Anti-patterns and what not to do in Rust 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. About the technology 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. About the book 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. What's inside Creating delightful APIs Applying Builder and other classic design patterns Functional programming patterns Rust anti-patterns About the reader For intermediate Rust programmers. About the author Brenden Matthews is a member of the Apache Software Foundation, creator of the system monitor Conky, and author ofCode Like a Pro in Rust. The technical editor on this book wasAlain M Couniot.
Similar books
Idiomatic Rust: Code like a Rustacean By Brenden Matthews (Final Release)
2024 · EPUB
Idiomatic Rust: Code like a Rustacean
2024 · PDF
Code Like a Pro in Rust
2024 · PDF
Code Like a Pro in Rust
2022 · PDF
Manning Early Access Program Code Like a Pro in Rust Version 4
2022 · PDF
Code Like a Pro in Rust
EXCEL 2023 CRASH COURSE: Master Excel 2023 With This Complete Crash Course In 7 Days
2022 · EPUB
The arraignment and tryall with a declaration of the Ranters also, several sentences proceedings at the sessions in the Old-Baily, and Councel of War: their protestations and the hanging of one up by the thumbs; with divers penalties to be inflicted upon others. The dancing and revelling of Dr. Buckeridge and his wife, and other gent. dancing all in white, in Berkshire, and their Christmas carol. A dispute between a Ranter in Bridewel, and one that came to see him; with his creed and pater noster: and the names of the false gods they worship. As also, a list of many of the Ranters, from whence they are derived: and of many hundreds of them in England
2019 · EPUB