Any strongly typed language should barf if you ask it to shift a signed quantity. Just because the processor can do it, doesn't mean it makes any sense.
2 Likes
Any strongly typed language should barf if you ask it to shift a signed quantity. Just because the processor can do it, doesn't mean it makes any sense.