Building codes first originated about 4, 000 years ago in the Babylonian empire with the "Code of Hammurabi." An example of that first code: "If a builder has built a house for a man and his work is not strong, and it the house he has built falls in and kills the householder, that builder shall be slain."
Codes have advanced significantly since that time. No one today is actually slain because of faulty workmanship. In fact, the goal is now for the builder and the inspector to work together as a team toward a singular goal.: a cost-effective and safe structure. Toward that goal, code developers create permit and inspection processes to ensure compliance with minimum code standards, while giving the designed and contractor flexibility of design the structure to accommodate the desires of the owner.
One aspect of that process deals with the structural codes requirements - inspection. The building code requires five different inspections on a typical residential structure; foundation, floor framing, structure framing, insulation, and final. A wallboard inspection may also be required.