next up previous contents
Next: Pre-padding Up: Design Trade-offs Previous: Mutable vs Immutable Strings   Contents

Operator Overload Choices

The Str class overloads some operators but not others. I will be the first to agree that the reasons for why something should or should not be overloadable are controversial. In any case, I present my reasons below.


next up previous contents
Next: Pre-padding Up: Design Trade-offs Previous: Mutable vs Immutable Strings   Contents
2007-05-05