Skip to content

Instantly share code, notes, and snippets.

@diogobaltazar
Last active July 19, 2019 23:04
Show Gist options
  • Save diogobaltazar/edee851f060b08e7bb08857aefbac15c to your computer and use it in GitHub Desktop.
Save diogobaltazar/edee851f060b08e7bb08857aefbac15c to your computer and use it in GitHub Desktop.

scala

$ to reference this

java

a = false ? 1 : 0;

js

a = false ? 1 : 0

python

a = 1 if false else 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment