Plenty of other sites manage to use open source code and even take pull requests without spilling their business secrets.
Then again, those sites are built on frameworks designed with modularity and separation of concerns in mind, while HN may not have been, so fair enough.