<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=169021614-13062019>hi, </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=169021614-13062019>adding "syntactic  sugar to Smalltalk is a bad 
idea", IMO.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=169021614-13062019></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=169021614-13062019>first of all it covers only specific bkocks ( which are 
not bound to a context ) - then in terms try to debug the newly added construct 
- more complex IMO - </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=169021614-13062019>Finally it affects performance - since extra Objects 
have to be created & a perform: is needed.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=169021614-13062019></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=169021614-13062019>Frank</SPAN></FONT></DIV><BR>
<DIV lang=de class=OutlookMessageHeader dir=ltr align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> Squeak-dev 
[mailto:squeak-dev-bounces@lists.squeakfoundation.org] <B>Im Auftrag von 
</B>Marcel Taeumel<BR><B>Gesendet:</B> Donnerstag, 13. Juni 2019 
15:57<BR><B>An:</B> Robert via Squeak-dev<BR><B>Betreff:</B> Re: [squeak-dev] 
[Discussion] Creating message sends via anObject >>> #selector 
?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=__MailbirdStyleContent 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: #000000">Hi Francisco,
<DIV><BR></DIV>
<DIV>thanks for sharing. :-) Yes, I am familiar with this work. It is really 
interesting to see such ideas tackling the line between being language 
extensions and libraries. Such HOM constructs change the appearance of 
traditional Smalltalk code. Yet, I got used to passing blocks (and closures) 
around --- which wasn't possible in Smalltalk-76 ... if I recall correctly. One 
could still use instances of MessageSend to manage callbacks.</DIV>
<DIV><BR></DIV>
<DIV>Best,</DIV>
<DIV>Marcel</DIV>
<DIV class=mb_sig></DIV>
<BLOCKQUOTE class=history_container 
style="BORDER-RIGHT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 1px; MARGIN-TOP: 20px; PADDING-LEFT: 10px; MARGIN-LEFT: 0px; BORDER-LEFT: 1px solid; BORDER-TOP-WIDTH: 1px" 
type="cite">
  <P style="MARGIN-TOP: 10px; COLOR: #aaaaaa">Am 13.06.2019 15:41:59 schrieb 
  Francisco Garau <francisco.garau@gmail.com>:</P>
  <DIV style="FONT-FAMILY: Arial,Helvetica,sans-serif">Have you looked at the 
  Higher Order Messaging from Marcel Weiher?
  <DIV><BR></DIV>
  <DIV><A 
  href="http://www.metaobject.com/papers/Higher_Order_Messaging_OOPSLA_2005.pdf">http://www.metaobject.com/papers/Higher_Order_Messaging_OOPSLA_2005.pdf</A><BR>
  <DIV dir=ltr>
  <DIV><BR></DIV></DIV>
  <DIV dir=ltr><BR>On 12 Jun 2019, at 14:31, Marcel Taeumel <<A 
  href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</A>> 
  wrote:<BR><BR></DIV>
  <BLOCKQUOTE type="cite">
    <DIV dir=ltr>
    <DIV id=__MailbirdStyleContent 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: #000000">Hi, there.
    <DIV class=mb_sig></DIV>
    <DIV><BR></DIV>
    <DIV>One of our students was curious about whether the following expression 
    could be somehow improved:</DIV>
    <DIV><BR></DIV>
    <DIV><B>someObjects collect: [:each | self convert: each].</B></DIV>
    <DIV><BR></DIV>
    <DIV>I suppose that the main goal was to remove the brackets. Similar to the 
    existing symbol shortcut:</DIV>
    <DIV><BR></DIV>
    <DIV><B>someObjects collect: #message.</B></DIV>
    <DIV><BR></DIV>
    <DIV>Looking at all implementors of #value:, #cull: and alike, I suppose 
    that a more convenient creation of a MessageSend could tackle this case 
    directly:</DIV>
    <DIV><B><BR></B></DIV>
    <DIV><B>someObjects collect: self >>> #convert:.</B></DIV>
    <DIV><BR></DIV>
    <DIV>This feels strange. :-) Very strange. But maybe it's just me. I don't 
    see the traditional [:each | ...] version as neither difficult to read nor 
    write.</DIV>
    <DIV><BR></DIV>
    <DIV>What do you think about adding the #>>> message to MessageSend 
    for more compact instantiation? Do you see other scenarios of interest? 
    Would it be just superfluous? Producing less readable code?</DIV>
    <DIV><BR></DIV>
    <DIV>Best,</DIV>
    <DIV>Marcel</DIV>
    <DIV><BR></DIV>
    <DIV>P.S.: #>>> would be close to #>>, which is implemented 
    on Behavior to access method objects.</DIV></DIV></DIV></BLOCKQUOTE>
  <BLOCKQUOTE type="cite">
    <DIV 
dir=ltr><SPAN></SPAN><BR></DIV></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE></DIV></BODY></HTML>