习语锈:像Rustacean一样的代码作者Brenden Matthews(最终版本)
Build stable, maintainable Rust applications by applying these important code and architectural design patterns.
In Rust Advanced Techniques 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
Rust Advanced Techniques introduces reusable best practices that will help you solve common programming problems and ensure your code is easy for others to understand. Learn when to use each design pattern, as well as when to break it. This practical guide 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.
Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.
About the book
Rust Advanced Techniques presents dozens of established programming and architecture solutions that take advantage of Rust’s unique language design. You’ll start with the basics of generics and traits, using them as a foundation to rapidly progress to metaprogramming, building your own libraries, and even advanced patterns like fluent interfaces and making immutable structures.
Throughout this unique book, you’ll find useful code samples that are easy to adapt and reuse for your own projects. Hone your Rust skills with functional programming techniques, and explore examples of common anti-patterns so you know mistakes to avoid. You’ll soon have an in-depth understanding of when and how to apply each design pattern, and even create your very own!
中文|2024|ISBN:1633437469|257页|True EPUB | 1.98 MB通过应用这些重要的代码和架构设计模式构建稳定、可维护的Rust应用程序。 在Rust Advanced Techniques中,您将学习如何应用重要的设计模式,包括 用于创建令人愉快的API的流畅接口Builder模式用于封装数据并执行初始化不可变数据结构,帮助您避免难以调试的数据竞争条件函数式编程模式反模式以及Rust中不该做的事情 Rust Advanced Techniques引入了可重用的最佳实践,这将帮助您解决常见的编程问题,并确保您的代码易于他人理解。了解何时使用每种设计模式,以及何时打破它。本实用指南对经典设计模式如何与Rust一起工作进行了编目、记录和描述,并介绍了新的Rust特定模式,这些模式将帮助您掌握语言。 购买纸质书包括曼宁出版公司提供的PDF和ePub格式的免费电子书。 关于本书 Rust Advanced Techniques提供了数十种利用Rust独特语言设计的成熟编程和架构解决方案。您将从泛型和特征的基础知识开始,将其用作快速发展元编程的基础,构建自己的库,甚至是流畅的接口和不可变结构等高级模式。 在这本独特的书中,您将找到有用的代码示例,这些示例易于适应和重用于您自己的项目。用函数式编程技术磨练你的Rust技能,并探索常见反模式的例子,这样你就知道要避免的错误。您很快就会深入了解何时以及如何应用每种设计模式,甚至创建自己的设计模式!本站不对文件进行储存,仅提供文件链接,请自行下载,本站不对文件内容负责,请自行判断文件是否安全,如发现文件有侵权行为,请联系管理员删除。
Flux - Jinwoo Chong
La montagna e il mio mondo
La ricchezza che il denaro non ti puo dare
Tabbner's Nursing Care: Theory and Practice, 7th Edition
Small Animal Surgery, 4th Edition
Musculoskeletal Examination and Assessment: A Handbook for Therapists, 5th Edition
Perioperative Nursing: An Introduction, 2nd Edition
La legge delle colline
Quattro re. Leonard, Hagler, Hearns, Duran e l'ultima grande era della boxe
Fra gli ultras. Viaggio nel tifo estremo