4 ms·
If this is better then I guess I'll stick with Java: object HelloWorld { def main(args: Array[String]) { println("Hello, world!") } } Differ
by jebblue 15y ago
If this is better then I guess I'll stick with Java:
object HelloWorld {
def main(args: Array[String]) {
println("Hello, world!")
}
}
Different is != better, not in my view.
- Ingaz 15y agoWhat's wrong in your example? Do you prefer "public static void main" ?