Have I written useless code? A lot of it?