Gameplay ++
- Now added color coding to keywords in the forum
- Added ease of indenting for easier coding
- Added another + to the name
Wait ... I'm thinking of notepad ++ sorry
Wait ... I'm thinking of notepad ++ sorry
- Removed salty ppl who don't know what a "counter" is.
It is quite strange when you go to game play and they demand that every match up should be a 50/50. Even a matchup like garen/quinn, heimer/udyr.
Notepad++ is really great. I don't even use an IDE.
Gameplay+ = (Gameplay)++;
Gameplay+ = (Gameplay)++;
This would be evaluated in languages than could handle it as:
Gameplay += Gameplay++;
Which, in C/C++, would assign to Gameplay the value of Gameplay+Gameplay, which is finally incremented by 1, for an equivalent expression of 2*Gameplay+1 . Java and JavaScript, on the other hand, would increment Gameplay by 1 first, but would add to Gameplay the old value of Gameplay and then assign that back to Gameplay, overwriting the brief Gameplay+1 that Gameplay used to have, for an equivalent expression of 2*Gameplay.
If you used pre-increment instead, C/C++ would produce 2*(Gameplay+1) while Java and JS would produce Gameplay+(Gameplay+1).
As far as I can hypothesize, Python assignment expressions in 3.8 will treat the closest approximation of Gameplay := Gameplay + (Gameplay := Gameplay + 1) as Gameplay+(Gameplay+1), according to my dictionary-as-namespace setup. But that's more of a pre-increment situation - I don't currently see how to emulate a post-increment, since integers aren't even mutable in Python.
Overall, I'd recommend not mutating a variable while you're mutating it. In any language.
Of course, a Gameplay object could have custom behavior for these operators rather than behaving like an integer, so who knows.