3 ms·
You miss the point. The problem are not arithmetic operations.
by 29athrowaway 4y ago
You miss the point. The problem are not arithmetic operations.
- teo_zero 4y agoSorry if I've misunderstood your post. The parent article was about replacing dense code with more lines of simpler syntax. I assumed you were in the shorter-is-better camp and willing to prove it with your example, where shorter undoubtedly is better. I found your example far stretched, and designed another case using your material (arithmetic operations) but applying only 2 repetitions, much in line with the spirit of the fine article. I hope I managed to show that, although we can agree that "very very longer is worse", this not always implies "shorter is better".