The subject of building code seems vast. How can you get to the point where you even know what you don't know?
A while back I looked briefly into what it would take to be an electrician, and it seemed like there was quite a lot to know. I wonder how soon you get to the stage where you could wire up a shed like this with full confidence that you've done everything to code.
From there, how many other subjects do you have to get right? I learned how to swing a hammer as a kid but I wouldn't know jack about designing load bearing structures, weather proofing, foundations, hanging windows and doors, etc — let alone plumbing, HVAC, etc.
Also, when applying for a home-owner permit, my city requires you pass a short test showing you know the basics of the code (not nearly as in-depth as certification exams).