• @fluckx@lemmy.world
    link
    fedilink
    22 months ago

    Yes.

    p++ == p+= 1 == p = p + 1 are all the same if you use it in an assignment.

    ++p is different if you use it in an assignment. If it’s in its own line it won’t make much difference.

    That’s the point I was trying to make.