Why is post-increment more common than pre-increment? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is post-increment more common than pre-increment?

13th Nov 2019, 11:17 AM
Kevin Eldurson
Kevin Eldurson - avatar
2 Answers
+ 2
No one says post increment is more common than pre increment. It's programmer choice what he needs to do in his/her program, post or pre increment. These are basic concept or can say logics you want in your program. No one is more popular neither pre nor post increment. :) What's the difference here it is : https://www.sololearn.com/Discuss/2062745/?ref=app
13th Nov 2019, 11:22 AM
Chirag Kumar
Chirag Kumar - avatar
+ 1
Chirag Kumar I'm just saying that it's more popular based on my experience 😅 it's more commonly used but I guess it's arbitrary in this case then.
14th Nov 2019, 7:31 PM
Kevin Eldurson
Kevin Eldurson - avatar