Unfortunately, you can do neither in Swift. The ++
operator has been gone since Swift 3, and the closest Swift will let you get to the cool anime way of incrementing is i -= -1
. There has to be a space between the -=
and -1
; otherwise you get hit with this error message: Use of unresolved operator ‘-=-‘
Category: Humor
Categories
Front end vs. back end
Funny because it’s (often) true.
(You might also want to check out this post of mine from 2018.)
Thanks to Renoir Boulanger for the find!
It is nice work if you can get it.
Thanks to Kristan Uccello for the find!
The only thing worse is when you complete those additional tickets and all management does is exclaim “That little droid did it!”
Here’s the relevant clip from The Phantom Menace for context: