Re:Introduction to Go 1.1
by JulianMorrison on Tuesday March 26, 2013 @07:48AM
(#5442546)
[ Parent
| on HN ]
would this count as a constant 0 and be caught by the compiler?
Re:Introduction to Go 1.1
by JulianMorrison on Tuesday March 26, 2013 @10:48AM
(#5443627)
Yup. Constants are computed at compile time in Go.