Created
December 3, 2015 16:32
-
-
Save shelajev/d417bed7b945399bfcd5 to your computer and use it in GitHub Desktop.
4 Examples of a Dynamic Language... post snippets
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
@RestController | |
class ThisWillActuallyRun { | |
@RequestMapping("/") | |
String home() { | |
return "Hello World!" | |
} | |
} |
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
$ bash ./scripts/run.sh | |
| Welcome to JShell -- Version 0.710 | |
| Type /help for help | |
->double val = Math.sqrt( 9000 ); | |
| Added variable val of type double with initial value 94.86832980505137 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment