Drake Rejects Mutable References
- At any given time, you can have either one mutable reference or any number of immutable references. - References must always be valid. - A reference cannot outlive its referent - A mutable reference cannot be aliased
Drake rejects mutable references while approving immutable references in the classic two-panel reaction format. The joke references Rust’s borrowing rules: mutable references are restricted because they can be aliased unsafely or outlive the data they reference, while immutable references can coexist. It is used by programmers to humorously express approval of safe memory management and disdain for unsafe code. EN: Drake rejects mutable references while approving immutable references in the classic two-panel reaction format. The joke references Rust’s borrowing rules: mutable references are restricted because they can be aliased unsafely or outlive the data they reference, while immutable references can coexist. It is used by programmers to humorously express approval of safe memory management and disdain for unsafe code.
- @profunctor_io / 3932 2020-01-26
- Template
- Drake Hotline Bling
- Type
- image
- Size
- 800×800 · 83.9 KiB
- Mood
- саркастичный, одобрительный
- Language
- en
- Added