Autovivification Concept Map

Jun 5, 2013 • Sarah Richardson

 

ughI hate to report that I have found concept maps to be more stressful than useful. I find the way they flatten information to be more of a hindrance than a help. Here is my attempt at a concept map for the tiny concept of autovivification in perl. In perl, if you refer to a variable inside a data structure that you have not explicitly declared, it will infer and declare the data structure it assumes you need behind the scenes. This is bad practice and can be prevented with the ‘use strict’ pragma, which enforces the explicit declaration of variables by deactivating autovivification and dying anytime a variable inside an undefined data structure is referenced.