Earlier quoted context omitted.
How can you choose a language without knowing the syntax? It's not arbitrary. Some languages have elegance or gotchas in how the syntax is laid out
How can you tell the elegance or gotchas from a 6 line Hello World?
You can also figure out if it's C-like or Lisp-like, and so on from looking at syntax.