LitMy.ru - литература в один клик

Idiomatic Rust: Code like a Rustacean

  • Добавил: literator
  • Дата: 21-08-2024, 16:29
  • Комментариев: 0
Название: Idiomatic Rust: Code like a Rustacean (Final Release)
Автор: Brenden Matthews
Издательство: Manning Publications
Год: 2024
Страниц: 257
Язык: английский
Формат: pdf (true)
Размер: 10.1 MB

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.

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!

About the reader:
For the more advanced Rust programmers. Experienced Rustceans will benefit from tips and tricks that help speed up delivery and make full use of Rust’s lesser-known features.

Скачать Idiomatic Rust: Code like a Rustacean (Final Release)












[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.