Re:Dear Python
by jamesbritt on Wednesday February 03, 2010 @01:11AM
(#1097191)
"Makes sense to me."
Me too.
But: when I see code that refers to first and last, I expect that the first and last elements are special.
When I see integers, it leads me to think that all of the elements are about equally important.
I also find it easier to read the text form rather than the integers; I don't have to look carefully to see if it's 1, 11, 7; code reading goes more smoothly.
Having both forms allows me to express, and parse, intention better.
Me too.
But: when I see code that refers to first and last, I expect that the first and last elements are special.
When I see integers, it leads me to think that all of the elements are about equally important.
I also find it easier to read the text form rather than the integers; I don't have to look carefully to see if it's 1, 11, 7; code reading goes more smoothly.
Having both forms allows me to express, and parse, intention better.