Thanks for your reply.
I disagree with you on all three of your examples, though. The first looks plain ugly, not elegant, and the second seems tailor-made for "for" or "foreach". The third seems like splitting hairs, but unless the string has interpolation or \' characters in it, why would you want to expend the additional effort to press the shift key?
In reply to Re^2: One line accessor method style.
by Anonymous Monk
in thread One line accessor method style.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |