Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.8
  Product Build
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.
Steps To Reproduce
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

- Relationships

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

related to 0003725closed  [FIX] ComplexTest>>testEquality 
related to 0004262closed KenCausey SUnit test ComplexTest>>testEquality fails for an collection 
related to 0004261closed  SUnit test ComplexTest>>testEquality fails for nil 
related to 0003311new  Complex Numbers are Wacky 
related to 0002688new  aNumber = (aNumber + 0 i) answer false 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
02-08-06 03:02 nicolas cellier New Issue
02-08-06 03:02 nicolas cellier Status new => assigned
02-08-06 03:02 nicolas cellier Assigned To  => KenCausey
02-08-06 19:05 MarcusDenker Assigned To KenCausey =>
02-08-06 19:05 MarcusDenker Category Any => Kernel
02-08-06 19:05 MarcusDenker Additional Information Updated
02-08-06 19:06 MarcusDenker Status assigned => new
07-15-06 11:54 MarcusDenker Relationship added related to 0003725
07-15-06 11:55 MarcusDenker Relationship added related to 0004262
07-15-06 11:56 MarcusDenker Relationship added related to 0004261
07-15-06 11:57 MarcusDenker Relationship added related to 0003311
07-22-06 22:20 MarcusDenker Relationship added related to 0002688


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
57 total queries executed.
39 unique queries executed.
Powered by Mantis Bugtracker