Introducing vibe.d!
Jacob Carlborg
doob at me.com
Sun Apr 29 06:22:09 PDT 2012
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
More information about the Digitalmars-d-announce
mailing list