Message120300
| Author |
rhettinger |
| Recipients |
jelie, pitrou, r.david.murray, rhettinger |
| Date |
2010年11月03日.02:13:19 |
| SpamBayes Score |
0.0001424628 |
| Marked as misclassified |
No |
| Message-id |
<1288750401.58.0.504832024196.issue10281@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Besides being shorter, the advantages of assertLE are consistent with the rich comparison method names, no worries about Than, no camel casing ambiguities, no pluralization or other nmemonic issues (LessThanEqual or LessThanEquals or LessThanOrEqual or LessThanOrEqualTo). The goal is to make sure you don't have to look up the spelling every time you use them.
That being said, assertEqual can't change. It has been around forever and is clear about what it does.
What I am sure about is that assertLess and assertLessEqual are very non-standard spellings and that infrequent users of comparison assertions won't remember them. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月03日 02:30:10 | rhettinger | unlink | issue10281 messages |
| 2010年11月03日 02:13:21 | rhettinger | set | recipients:
+ rhettinger, pitrou, r.david.murray, jelie |
| 2010年11月03日 02:13:21 | rhettinger | set | messageid: <1288750401.58.0.504832024196.issue10281@psf.upfronthosting.co.za> |
| 2010年11月03日 02:13:20 | rhettinger | link | issue10281 messages |
| 2010年11月03日 02:13:19 | rhettinger | create |
|