<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Nicolas,<div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 5, 2018 at 1:31 PM Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">Le mer. 5 déc. 2018 à 16:59, Tm Jhnsn <<a href="mailto:digit@sonic.net" target="_blank">digit@sonic.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
On Dec 4, 2018, at 12:12 AM, marcel.taeumel wrote:<br>
<br>
> Yet, such an infix notation for rectangle creation would not be  <br>
> much of an<br>
> improvement over Rectangle class >> center:extent:.<br>
><br>
> Very interesting. :-) Thoughts?<br>
<br>
Balloons inflate, and Smalltalk is quite associated with balloons... :)<br>
<br>
Tim J<br></blockquote><div><br></div><div>But in this case, should deflate return the center ? (100@100 inflate: 50@30) deflate.</div><div>I like spread because there is a kind of isotropic notion, we extend in all directions...</div><div><br></div><div>The lexical field of symmetry may fit: we construct a rectangle by taking those two vertices:<br></div><div>- image of aPoint by symmetry around myself,</div><div>- and aPoint.</div><div>So it's somehow a mirroring action:</div><div><br></div><div>    centerPoint mirror: cornerPoint.</div><div>    centerPoint reflect: cornerPoint.<br></div><div><br></div><div>We could also think of pivoting or unfolding in the 3rd dimension...<br></div><div>But I find the intention very hard to grasp... It's not obvious that the message should answer a Rectangle rather than a Point.</div><div>And the meaning of argument slipped from extent to corner which is a different action...</div><div><br></div><div><div>I note that inflate, spread, etc... are verbs, while corner: and extent: are nouns...</div></div></div></div></blockquote><div><br></div><div>Ah, that's a good point.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>We understand corner: and extent: because we may think of them as attributes of a Rectangle... (or just because we're used to them?)<br></div></div></div></blockquote><div><br></div><div>So using center: or centre: would work, except that it's extentPoint center: centrePoint, which is at odds with originPoint extent: extentPoint & originPoint corner: cornerPoint.  But I find center:/centre: far less misleading than inflate:, which is also a verb, but one with no obvious interpretation to me.</div><div><br></div><div>These two are also more understandable to me:</div><div><br></div><div>centrePoint atCenterExtent: extentPoint</div><div>centrePoint atCenterCorner: cornerPoint (and this would depend on whether centrePoint <=: cornerPoint or centrePoint >=: cornerPoint, and an error otherwise)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div>In this case, diagonal: may fit too, but the difference with extent: is thin, and I don't find the notion of isotropic spread in it.</div><div>In fact, diagonal: might be to vertex:vertex: what corner: is to origin:corner: because we can define a rectangle by any of its diagonals...</div><div><br></div><div>Geometrically, we may also see self and extentPoint as defining the diagonal by a center and a diameter of circumscribing circle...</div><div>So its a kind of circumExtent: that we pass to the center... Not very clear that it will answer a Rectangle...</div></div></div>
</blockquote></div><div><br></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div></div></div></div>