|
|
|
|
|
by _Y_
5317 days ago
|
|
Heh to a Java programmer, the answer would be - everything. Here are my thoughts on it.
- I get val myList is some sort of list...
- Seems to be a list of Strings. But what is ::?
- Nil means list is nullable. Wait is one of the parts of list 'myList(println)' (looks a bit like Smalltalk)?
- Why is println the argument and not the method? Is that syntax correct?! Compare same thing in Fantom. Note ; is only used as a separator and is equal in all respects to '\n'. myList := ["Jim", "Bob", null]; echo(myList)
|
|