poohbar
07/25/2019, 1:35 PM_ but does java/kotlin have similar convention?dalexander
07/25/2019, 1:40 PM_ (and in fact the IDE will suggest you do that). In Java I usually use whatever I would normally call the variable. _ seems to be some kind of a reserved identifier in Java, or at least using it produces a warning about it not being supported in future versions.karelpeeters
07/25/2019, 2:35 PM_ for unused parameters, you can't use it as just any variable name.poohbar
07/25/2019, 4:42 PMpoohbar
07/25/2019, 4:43 PMAlowaniak
07/25/2019, 6:28 PMe or x or something. Iirc they reserved _ to in the future perhaps use for unused variables