Trying to design codes with least possible case for generating error and maximizing ways to have code run appropriately as desired by user