Re:Pony – High Performance Actor Programming
by barrelrider on Sunday May 03, 2015 @07:56PM
(#9483588)
This is correct, classes and functions are not dependent on indentation, they just don't need an end. And yes, there are no nested classes and functions (other than in object literals).
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.