Are developers often proud of their code? I'm pretty sure most developers who open up their projects to the world and say "look at what I built" are proud of the result of their code, not the code itself.<p>I'm not sure I've ever met a developer who is genuinely pleased with their code beyond a nice implementation of an algorithm or a neatly abstracted class. Most of us are deeply, sometimes overly, modest and humble about how readable our code is.
On the analogy of the architect ... It's probably wrong to say that "it was built on a shaky foundation that will collapse sooner rather than later" and it's more accurate to say that another architect or professional engineer might not be able to understand the intent behind the drawings/plans and thus make necessary changes without compromising the building's structural integrity.