I would like to use the optimized code for elegance, but sometimes we have to debug and I change the code as follows. Is there an elegant way to do this
Optimized cod