by k__ · 11y ago · 0 comments
It is unnecessary on the top-level though, since the top-level expression will end where the next one begins. Which means you probably can't have nested class/function definitions.
This technique is not new and is used in OCaml, for example.
I wanted to know if these "end"s are optional (I can write it like Python) or strictly needed (I have to write it like Ruby).