[Newbies] Proper fractions?
conradwt at gmail.com
Fri Jul 27 07:17:12 UTC 2007
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
On 7/26/07, Blake <blake at kingdomrpg.com> wrote:
> On Thu, 26 Jul 2007 22:43:18 -0700, Conrad Taylor <conradwt at gmail.com>
> > 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 at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners