in reply to Re^6: referencing slices - love that DWIM
in thread referencing slices - love that DWIM

Except for in the edge cases, which is where thinking they are the same thing gets you into trouble:

Those are three that readily come to my pre-morning-caffeine brane, but there's certainly others. Yes in most cases they'll behave the same, but you need to understand that it is a simplification and know where the idea breaks down. Otherwise you'll be unpleasantly surprised after you have to go chasing down squirrelly context induced wonkyness.

The cake is a lie.
The cake is a lie.
The cake is a lie.