<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
"Obscures the underlying code" is true of so many things.<br>Exceptions. Garbage collection. Objects. Nested functions. Function calls! Default parameters. Generics. Pickles. RPC.<br>It is a matter of degree, cost, value though, granted.<br>  The runtime cost of operating overloading is zero, at least.<br>  And the unobscured code is horrible to read and write actually (which is the reason for many features).<br>  This is case where "obscure" is clearly good, and not obscure.<br>  But it is a matter of degree. I should probably try implementing it before I ask for it too strongly.<br><br><br>  - Jay<br><br><hr id="stopSpelling">From: hosking@cs.purdue.edu<br>Date: Sun, 21 Nov 2010 13:33:31 -0500<br>To: jay.krell@cornell.edu<br>CC: m3devel@elegosoft.com<br>Subject: Re: [M3devel] operator overloading?<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">Some of us find operator overloading anathema because it obscures the actual underlying code.<div>It certainly does not fit well with the design philosophy of Modula-3.<br><div><br><div><div>On Nov 21, 2010, at 1:10 PM, Jay K wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><div class="ecxhmmessage" style="font-size: 10pt; font-family: Tahoma;">Is it really so difficult to add operator overloading to the language?<br><br>From a user's point of view, I know it is very useful in certain situations.<br><br><br> - Jay<br><br><br><br><br></div></span></blockquote></div><br></div></div>                                      </body>
</html>