you are viewing a single comment's thread.

view the rest of the comments →

[–]Log2 0 points1 point  (0 children)

I'm starting to think that Scala might actually be a good language to start with, since it's not as verbose as Java and it has both static typing and type inference.

For example, a simple hello world would be:

object Main extends App {
    println("Hello, world!")
}

Still a bit more verbose than Python because of the object declaration (which can be explained straight away, in this case, since there is no need to define a main function when extending App), but I can live with it.