The code itself matters little. It's a fools errand to attempt to write "good code" while glossing over, or outright ignoring, information hiding and dependency management.
Structure, testability, documentation and automation of the system give you a fighting chance.