On Sunday, 5 January 2014 at 00:17:12 UTC, Jeroen Bollen wrote:
Also a somewhat unrelated question, variables in D get initialized by default, do they also when you define them right after? Something like:
Maybe. Logically, it is always initialized unless you explicitly tell it not to ( = void on declarations, not sure about making new return uniniialized memory), but the optimizer might see that the initalization is useless and skip it.