Pinchflat

Flexible Design with the Decorator Pattern in Rust: A Deep Dive | Advanced Rust Part 8

Raw Attributes

Source: Advanced Rust
  • media_id: T24b1-n1bRE
  • duration_seconds: 1041
  • predicted_media_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e010300_Flexible Design with the Decorator Pattern in Rust: A Deep Dive | Advanced Rust Part 8.mp4
  • short_form_content: false
  • upload_date_index: 0
  • nfo_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e010300_Flexible Design with the Decorator Pattern in Rust: A Deep Dive | Advanced Rust Part 8_[T24b1-n1bRE].nfo
  • media_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e010300_Flexible Design with the Decorator Pattern in Rust: A Deep Dive | Advanced Rust Part 8_[T24b1-n1bRE].mp4
  • description: #rustlang #softwarearchitecture #softwaredevelopment Watch the rest of this series: https://www.youtube.com/playlist?list=PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl New to Rust? Check out my fundamentals series: https://www.youtube.com/playlist?list=PLFdNoRgzggbo6BqJQ6tqk_wvXeI5yfbGA Decorators are an amazingly elegant way of introducing flexibility to your code without changing existing functionality. In this video, we will see a prime situation in which attack moves for a game can be layered beautifully with the decorator pattern, all while increasing modularity, readability and testability. Find me elsewhere: 🐘 Mastodon: https://mastodon.social/@GreenTeaCoding 00:00 Intro 00:50 Introductory example 02:43 Naive attack extension 04:05 Problems of the naive extension 06:05 Decorator pattern 10:13 Applying decorators to our example code 12:19 Static vs dynamic dispatch 14:13 Visitor vs decorator pattern 15:00 When to use decorators 15:35 Typical use cases Find this code on GitHub: https://github.com/Thodin/rust-decorators
  • updated_at: 2025-01-13T03:12:17Z
  • id: 307945
  • media_size_bytes: 67650753
  • inserted_at: 2025-01-13T03:10:53Z
  • media_redownloaded_at:
  • prevent_culling: false
  • source_id: 22
  • original_url: https://www.youtube.com/watch?v=T24b1-n1bRE
  • uuid: 1cbaf153-56c2-47fc-be23-06a32d986209
  • matching_search_term:
  • metadata_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e010300_Flexible Design with the Decorator Pattern in Rust: A Deep Dive | Advanced Rust Part 8_[T24b1-n1bRE].info.json
  • uploaded_at: 2025-01-03T22:21:37Z
  • thumbnail_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e010300_Flexible Design with the Decorator Pattern in Rust: A Deep Dive | Advanced Rust Part 8_[T24b1-n1bRE]-thumb.jpg
  • prevent_download: false
  • tasks:
  • title: Flexible Design with the Decorator Pattern in Rust: A Deep Dive | Advanced Rust Part 8
  • last_error:
  • culled_at:
  • subtitle_filepaths:
  • media_downloaded_at: 2025-01-13T03:12:14Z
  • livestream: false
  • playlist_index: 8

Nothing Here!