4 ms·
I've got a question for the Go people, it's not intended to be adversarial: What exactly does Go get out of its zero values system? What does the language get
by zero_shift 2y ago
I've got a question for the Go people, it's not intended to be adversarial:
What exactly does Go get out of its zero values system? What does the language get from having this ambiguity built in to every type?
- FreezerburnV 2y agoNo uninitialized values, same as Java. You don’t get junk values that are whatever were in that memory previously. It’s actually a lack of ambiguity in that an int will always be 0 when initialized, not like 19692847376 sometimes.