A lot of the stricter codes have very real safety benefits though - modern electrical is much safer, fire sprinklers add significant cost but really do help contain fires, etc.
(Not that it's all good, e.g. I don't like Washington's WAC 51-11R which just seems way overcomplicated.)