The piece starts off with > “Numbers are just numbers, you’ll never see 0x80ULL in a .go source file”. Yet almost immediately afterward, we see the expression: const uintSize = 32 > 32 & 1) How is `uint(0)` not just `0u` by another name? And doesn't this code snippet unnecessarily depend on specifically 32-bit and 64-bit architectures? As opposed to something like Rust's `mem::size_of:: ()` which is both constant-tim…
Finally, just repeating that "golang consts are powerful" doesn't make them so.