While I agree with B, I think A is rather a stretch. More importantly, good pedagogy suggests showing how to deal with edge cases is an important element of example code. Golf or obfuscation on the other hand tend to be an impediment to teaching concepts. Slices are important enough to be shown free of clutter.
In reply to Re^4: Manipulating Array Indexes
by GrandFather
in thread Manipulating Array Indexes
by TJ777
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |