Anonymous | Login | 12-06-2019 22:42 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 | |||||||
0002689 | [Squeak] Kernel | minor | N/A | 02-08-06 03:02 | 02-08-06 19:06 | |||||||
Reporter | nicolas cellier | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 3.8 | |||||||||
Summary | 0002689: isComplex method name is bad | |||||||||||
Description |
Object isComplex and Complex isComplex are both implemented in term of isKindOf: Complex. Some other class do implement isComplex, and obviously they are complex (complicated) but not KindOf: Complex. This can foolish some code. |
|||||||||||
Additional Information |
I suggest Complex being renamed ComplexNumber and isComplex being renamed isComplexNumber (see how Object>>isComplex comment claims for that). Then any class will be free to express its complexity via isComplex without harming. |
|||||||||||
Attached Files | ||||||||||||
|
![]() |
||||||||||||||||||||||||||
SYSTEM WARNING: Creating default object from empty value SYSTEM WARNING: Creating default object from empty value SYSTEM WARNING: Creating default object from empty value SYSTEM WARNING: Creating default object from empty value
|
There are no notes attached to this issue. |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
57 total queries executed. 39 unique queries executed. |