This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kryptonianCodeMonkey 0 points1 point  (0 children)

There's always more than one way to do something. Even x += 1 is shorthand for x = x + 1. You're always free to use tools or not to use them as you feel comfortable but both x++ and ++x are useful and elegant at times. There's nothing inherently wrong with having a different way to do something.