You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use pre-inc/pre-dec over post-inc/post-dec where ever don't need a post-inc/post-dec (some times you want to return the result of the value before the operation is applied, post operation is valid to use in that case).
Even on integral / primitive types where do not need a post-inc/post-dec, always inforce pre-incr/pre-dec for the sake of consistency.
The text was updated successfully, but these errors were encountered:
shahzadlone
changed the title
Prefer pre-inc/dec over post-inc/dec.
Prefer pre-inc/dec over post-inc/dec. [PATCH]
Feb 5, 2019
Use pre-inc/pre-dec over post-inc/post-dec where ever don't need a post-inc/post-dec (some times you want to return the result of the value before the operation is applied, post operation is valid to use in that case).
Even on integral / primitive types where do not need a post-inc/post-dec, always inforce pre-incr/pre-dec for the sake of consistency.
The text was updated successfully, but these errors were encountered: