top | item 38803893 (no title) virgoerns | 2 years ago Does Go default-initialize booleans by any chance? In C, which author had used, this program would be undefined behavior due to reading non-static, uninitialized bool. discuss order hn newest bilinguliar|2 years ago Go has “zero” values. The zero value of Boolean is false.https://go.dev/tour/basics/12
bilinguliar|2 years ago Go has “zero” values. The zero value of Boolean is false.https://go.dev/tour/basics/12
bilinguliar|2 years ago
https://go.dev/tour/basics/12