for me it isnt the code, so much as what the code is manipulating.
having a firm grasp on the standards and specifications of any given file structure is indispensible. same goes with CPU , storage controllers and memory
when you know these things about hardware, then you have opportunity to see why code must obey certain majik rules.