Author r.david.murray
Recipients MLModel, effbot, eric.araujo, flox, georg.brandl, jaraco, r.david.murray
Date 2010-03-28.22:14:20
SpamBayes Score 2.52433e-07
Marked as misclassified No
Message-id <>
I think you are incorrect about the comma after element.  Without the comma 'the first matching element or the default value' are tightly bound, meaning that if either of those is true, then the default value is returned.  That's obviously incorrect, so a human will parse the sentence the way you expect.  But I think technically the comma after element turns the sentence into two independent clauses conjoined by 'or', so that either the first matching element is returned, or the default is returned (if no element was found).  I think it also reads better rhythmically (you will note that I used a comma in my sentence, as well, even though in that case no technical ambiguity results from leaving it out).

The comma in the other sentence I think is optional, and I agree that it reads better without it.
Date User Action Args
2010-03-28 22:14:22r.david.murraysetrecipients: + r.david.murray, effbot, georg.brandl, jaraco, eric.araujo, MLModel, flox
2010-03-28 22:14:22r.david.murraysetmessageid: <>
2010-03-28 22:14:20r.david.murraylinkissue6488 messages
2010-03-28 22:14:20r.david.murraycreate