Join Slack
Powered by
Way to flip a boolean succinctly: Java code: flag...
# announcements
p
pokkeli
11/21/2017, 3:18 PM
Way to flip a boolean succinctly: Java code: flag ^= true; Kotlin equivalent: flag = flag xor true Is there any way to get rid of the re-declaration of "flag"?
4
Views
Open in Slack
Previous
Next