cur / prev / nxt [terminology]
Terminology¶
Usage¶
- Use for current, previous, and next states or linked-list nodes.
- They are conventional in iterative pointer manipulation.
curis preferred over bothcurrandcurrentin compact code.nxtavoids shadowing Python'snextbuilt-in.- Use compound forms such as
cur_minwhen multiple current states exist.