Lin Zhang
02/17/2022, 11:32 AMPaul Woitaschek
02/17/2022, 12:26 PMhttps://c.tenor.com/HylPDAulWTEAAAAM/star-wars.gif▾
when
in kotlinKlitos Kyriacou
02/17/2022, 3:01 PMif ("literal" == variable)
in Kotlin when you can do if (variable == "literal")
even when the variable might be null? (By the way, the expressions 0, 1, etc, look more like Fortran label numbers to me rather than resulting values.)Svyatoslav Kuzmich [JB]
02/17/2022, 7:55 PMif ("literal" = variable)
would be a compile error while if (variable = "literal")
would be a runtime bug.Klitos Kyriacou
02/18/2022, 9:39 AM=
instead of ==
.Youssef Shoaib [MOD]
02/18/2022, 10:13 AMGavin Ray
02/18/2022, 11:00 PM