memesearch
Limit Variable Scope

Limit Variable Scope

Download Find similar pictures
Text on the meme
Generally speaking if you limit the scope of variables as much as possible: * code is more efficient (RVO usage for example) * more maintainable (less to reason about) * more optimizable (constructor/ destructor inlining, etc) * more const correct With rare exceptions.
What it means

A dark-mode social media post lists the programming benefits of limiting variable scope: efficiency, maintainability, optimization, and const correctness. The joke is a dry technical endorsement of minimizing scope, with “With rare exceptions” acknowledging that programming rules have edge cases. EN: A dark-mode social media post lists the programming benefits of limiting variable scope: efficiency, maintainability, optimization, and const correctness. The joke is a dry technical endorsement of minimizing scope, with “With rare exceptions” acknowledging that programming rules have edge cases.

Objects
Tags
Source
Type
image
Size
662×800 · 74.1 KiB
Mood
dry, technical
Language
en
Added