> when code production cost so far outweighed everything else, it made sense to structure everything to optimise efficiency in that dimension
Oh, for sure. Those people making electro-mechanical computers at the end of the 19th century certainly did that a lot.