5 ms·
Was just thinking in moldy old c code the two places to use ++ or -- was when either incrementing pointers or indexes. The other is ++ and -- also map directly
by Gibbon1 11y ago
Was just thinking in moldy old c code the two places to use ++ or -- was when either incrementing pointers or indexes.
The other is ++ and -- also map directly to old school assembly language instructions. Helpful when writing the back end of old school compilers.
Probably doesn't make much sense in a language with foreach() or dictionaries, etc.