Twitter Feed: Post

Twitter Feed

@steveklabnik retweeted:

@zhuowei ("Zhuowei Zhang") wrote:

STOP RUNNING CONSTRUCTORS AT STARTUP

GLOBAL VARIABLES ARE SUPPOSED TO BE INITIALIZED WITH CONSTANTS

40 years of C++ yet NO defined order for calling global constructors

Want to initialize your variables with code for a laugh? We have a function for that: it's called `main`