Anonymous | Login | 02-28-2021 22:24 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005294 | [tweak] Any | minor | always | 10-26-06 00:20 | 10-27-06 00:59 | |||||||
Reporter | jdougan | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | acknowledged | |||||||||||
Summary | 0005294: Method #any is unintuitive and collides with common usage. | |||||||||||
Description |
Recently I had the pleasure of porting a large pile of VW code to Croquet and found #any to be a problem. In most code I have seen, and in an informal poll I conducted at OOPSLA, most people expected #any to return an arbitrary element of a collection. I would suggest that #any be renamed to somrthing like #anyIn or #anyMatchingIn. These have the advantage of being more descriptive and syntactically they indicate that something should follow them, such as the #match: method. |
|||||||||||
Additional Information |
#all probably should be modified in a similar manner. Looking in the Tweak code in Croquet, it looks like there aren't many places that #all and #any are called in currently. |
|||||||||||
Attached Files | ||||||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
44 total queries executed. 31 unique queries executed. |