On 2012-04-29 10:07, Sönke Ludwig wrote:
The static this() pattern is mainly there to appeal to users of similar systems in script languages, where you don't have a main function at all and just happily hack away. For larger projects it doesn't make a difference but for small projects it can actually be quite convenient.
Since you can't have code (besides declarations) at the module level I don't see how "static this" would be than "main".
-- /Jacob Carlborg
