3 ms·
I too prefer prefix operators due to simpler/more intuitive semantics. But postfix operators have simpler/more intuitive presentation. ++i and --i ressemble +
by paulddraper 8y ago
I too prefer prefix operators due to simpler/more intuitive semantics.
But postfix operators have simpler/more intuitive presentation.
++i and --i ressemble + +i and - -i
Whereas i++ and i-- resemble abbreviations of i += 1 and i -= 1