This example is famous in Go because it demonstrates how powerful constants are.
Let’s analyze this line:
const Huge = 1 << 100
1. What << Means
<< is the left shift operator.
It shifts bits to the left.
Example:
1 << 3
Binary:
1 → 0001
<< 3 → 1000
Result:
8
So the rul
gobyshelby.hashnode.dev2 min read