2 Matching Annotations
- Aug 2022
-
ubm-twvideo01.s3.amazonaws.com ubm-twvideo01.s3.amazonaws.com
-
a “global variable” which identifies whichwidget is active
-
-
scattered-thoughts.net scattered-thoughts.netCoding1
-
I like to organize all the state in a program so that it's reachable from some root pointer. This makes it easy for the reader to understand all the resources allocated by the program by just following the tree of types. It also makes it easy to find any piece of state from within a debugger, or to write little debugging helpers that eg check global invariants or print queue lengths.
-