There is no problem if both of these people are sane and are getting sane, non conflicting direction from those interested parties who are not involved in the software design.
Ha! Hahaha.
Hahahahahaha.
Oh, I made myself sad.
Some middle-aged guy on the Internet. Seen a lot of it, occasionally regurgitating it, trying to be amusing and informative.
Lurked Digg until v4. Commented on Reddit (same username) until it went full Musk.
Was on kbin.social (dying/dead) and kbin.run (mysteriously vanished). Now here on fedia.io.
Really hoping he hasn’t brought the jinx with him.
Other Adjectives: Neurodivergent; Nerd; Broken; British; Ally; Leftish
There is no problem if both of these people are sane and are getting sane, non conflicting direction from those interested parties who are not involved in the software design.
Ha! Hahaha.
Hahahahahaha.
Oh, I made myself sad.
Instructions unclear. You have been assigned: ǿ. You now owe a million Danish kroner.
This is actually the correct way to do it in JavaScript, especially if the right hand side is more than
1
.If JavaScript thinks
i
contains a string, and let’s say its value is27
,i += 1
will result ini
containing271
.Subtraction doesn’t have any weird string-versus-number semantics and neither does unary minus, so
i -=- 1
guarantees28
in this case.For the increment case,
++
works properly whether JavaScript thinksi
is a string or not, but since the joke is to avoid it, here we are.