I’ve always wondered why a lot of languages don’t have an increment/decrement-by-one operator like there is in C++, like
i++
i--
Why? I like using that operator, it’s very natural.
I’ve always wondered why a lot of languages don’t have an increment/decrement-by-one operator like there is in C++, like
i++
i--
Why? I like using that operator, it’s very natural.
Read this: