Hi, please explain why it's wrong when one can define their own method to print an instance of a class. Second, a  fraction is the ratio of two whole numbers, or to put it simply, one whole number divided by another whole number.  Thus, the implementation of class Fraction is in sync with the definition.

-Conrad

 
On 7/26/07, Blake <blake@kingdomrpg.com> wrote:
On Thu, 26 Jul 2007 22:43:18 -0700, Conrad Taylor <conradwt@gmail.com>
wrote:

> Hi, I don't know why you say that is odd because this doesn't exist in
> the core of Java, C++, and C to name a few.  Also, if you need to
> redefine
> things within your image, it's very easy to do so and I agree with the
> responses of both Nicolas and Bert.  In short, this and other Smalltalk
> environment provide a solid framework of classes for one to easily
> extend.

Well, first of all, it's odd because it's wrong. Bert showed a perfectly
good way to do what I want.

Second of all, I wouldn't deign to compare Squeak to those other, lesser
languages. ;-)
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org

http://lists.squeakfoundation.org/mailman/listinfo/beginners