Closed rbwhitaker closed 1 year ago
After additional consideration, this does not need to be covered specifically in the book. Bitshifting is a relatively advanced topic, and the thought that it makes sense to be an integer or similar is unsurprising. So I don't think it is worth specifically calling this out, though I do like the feature.
The second operand on a shift used to need to be an
int
or convertible to an int. These can now take advantage of generic math.I don't think this one necessarily deserves a mention. I wasn't calling out this type of limitation, to removing the limitation maybe also doesn't require addressing the lessening of the limitation.