iotaはconst宣言のindex値として扱われる
iota is treated as an index value of const declaration
• iota + 1でゼロ値による意図しない挙動を防げる
`iota +1` to prevent unintended behavior due to zero values.
• 1 << iotaで単一の値で複雑な状態も表現できる
Complex states can be represented with a single value in `1 << iota`
Summary