20
"Do you know what '++' does?"
Finished another JavaScript tutorial and shared the project with a friend. He was reviewing one of the functions and asked, "Do you know what ++ does?"
timerTime++;
Gut reaction was stress! But my friend wasn't gatekeeping. He wasn't saying "Do you even know what ++ does?"-- he was just legitimately checking in. That's why he's my dawg.
In the context of this project, "timerTime++;" ended up meaning the same thing as
timerTime = timerTime + 1;
But, top dawg reminded me that ++ can have different outcomes in different uses. And that's... fun.
Something, something loops.
It's definitely not fully ingrained yet. But look at that:
- usage
- reflection
- research
I utilized it without fully understanding. I reviewed how well I got the concept, and when I realized it wasn't quite all there... I was able to look it (back) up (again).
Note: we call him top dawg cuz he's a top dawg.
20