3 ms·
Of course, that assumes that your spaghetti code implements the same algorithm as your elegant code. If the elegant code is O(n) and the spaghetti code is O(n^
by eru 3y ago
Of course, that assumes that your spaghetti code implements the same algorithm as your elegant code.
If the elegant code is O(n) and the spaghetti code is O(n^2) you might notice the difference.
And, of course, there's also maintenance to consider.
In some sense, compiler are there exactly to turn our elegant solutions into spaghetti code.
- vitiral 3y agoI think that was implied