Java in the Small

from blog Simon Willison's Weblog, | ↗ original
Java in the Small Core Java author Cay Horstmann describes how he now uses Java for small programs, effectively taking the place of a scripting language such as Python. TIL that hello world in Java can now look like this - saved as hello.java: void main(String[] args) { println("Hello world"); } And then run (using openjdk 23.0.1 on my Mac,...