| ▲ | vhantz 12 hours ago | ||||||||||||||||||||||
The two fields in the struct are expected to be false unless changed, then initialize them as such. Nothing is gained by leaving it to the compiler, and a lot is lost. | |||||||||||||||||||||||
| ▲ | gwd 12 hours ago | parent [-] | ||||||||||||||||||||||
I think the point is that sometimes variables are defined by the language spec as initialized to zero, and sometimes they aren't. Perhaps what you mean is, "Nothing is to be gained by relying on the language spec to initialize things to zero, and a lot is lost"; I'd agree with that. | |||||||||||||||||||||||
| |||||||||||||||||||||||