Generally I try to make my boolean options and properties positive. Arguably, immutable is the negation of mutable. Following that principle, then, the getter should be spelled mutable, and to check for immutability you'd negate the result.
I don't feel strongly about this, but it's something to think about.
Generally I try to make my boolean options and properties positive. Arguably,
immutableis the negation ofmutable. Following that principle, then, the getter should be spelledmutable, and to check for immutability you'd negate the result.I don't feel strongly about this, but it's something to think about.