0
I want to know your opinion about using "+=".
I mean, instead of just retyping it over again.
4 Antworten
+ 1
i always get confused when I first see it n quizzes, challenges, etc, but that's probably because I'm still learning and will get used to it. I think it is very useful though!
+ 1
you may think of it as first "add" and then "assign" because + is present before =. this is just for remembering. Obviously its easier to write.
0
its eaiser and faster.
0
I use += yet its easier to explain to people what var = var + 1 does.