Danger! Unexploded Data

Software applications commonly make use of tree structures to arrange items in a hierarchical manner. File systems, database indexes, bills of material, HR organizational data, etc are all usually structured in a tree format. The persisted data that represents these structures are often stored in a dictionary of parent/child relationships, looking something like this: If … Continue reading Danger! Unexploded Data

Modularization, Part 2

From our previous discussion in part 1, let us return to variable scope. Programming languages which enforce variable scope do so by logical constraints built into the language framework. There is nothing physical that enforces variable scope in a computer's memory. The language's compiler handles the grunt-work details to create code which achieves variable scoping … Continue reading Modularization, Part 2