Created
August 8, 2018 17:22
-
-
Save marianosimone/2804da46df52dd74685df2177f49ac21 to your computer and use it in GitHub Desktop.
example 2 [java is dead, long live Kotlin - 2018-08 post@thumbtack]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo { | |
private static boolean shouldTrollKotlin() { | |
return true; | |
} | |
public static String bar() { | |
if (shouldTrollKotlin()) { | |
return null; | |
} | |
return “I’m cool”; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment