Re: Outline and Table back to front
Re: Outline and Table back to front
- Subject: Re: Outline and Table back to front
- From: Thomas Davie <email@hidden>
- Date: Mon, 20 Jun 2005 20:27:42 +0100
On Jun 20, 2005, at 8:21 PM, SA Dev wrote:
Now you're just being silly. A rectangle is a rectangle because
it spent eight years in rectangle college whereas the square barely
passed high school geometry ... ;-)
But seriously, folks, this basically boils down to a design
decision. But to be fair, in Cocoa, a square is actually a
rectangle with equal length and width:
NSRect * rect = NSMakeRect(0, 0, 20, 10);
NSRect * square = NSMakeRect(0, 0, 10, 10);
Now THAT'S pedantic.
My point here is nothing to do with cocoa... In real life a square is
a rectangle. A rectangle is not necessarily a square. This is the
classic example given to anyone learning about OOP.
On Jun 20, 2005, at 3:00 PM, Thomas Davie wrote:
A rectangle is a square since it has four edges
A square is not a rectangle since it can't have different lengthed
edges
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden