Instantly share code, notes, and snippets.
scala
$ to reference this
java
a = false ? 1 : 0;
js
a = false ? 1 : 0
python
a = 1 if false else 0