<br><br><div class="gmail_quote">On Sat, Aug 28, 2010 at 7:18 PM, Andreas Raab <span dir="ltr">&lt;<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi David -<div class="im"><br>
<br>
On 8/28/2010 9:55 AM, David T. Lewis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don&#39;t like the idea of having #now disregard fractional seconds.<br>
Effectively that means that a request for the current time gets<br>
automatically rounded or truncated to the nearest second, which is<br>
just plain wrong.<br>
</blockquote>
<br></div>
I see your point, but I disagree. To me this is a classic question of &quot;what should the default be?&quot;. And the default should be what most users of #now expect. From the code that I&#39;ve looked at, I still haven&#39;t found any place that would benefit from fractional seconds. If that is true, then I think the default should be whole seconds, with a protocol allowing to ask for fractional seconds if that case ever comes up. If you know of any examples in the current system that benefit from fractional seconds in #now I&#39;d really love to see them.<br>

<br>
BTW, does anyone know what the result of &quot;Date[And]Time now&quot; is in other systems? What do VW, GST, and others return? Whole seconds or fractional?<br></blockquote><div><br></div><div>VisualWorks answers whole seconds (as did Smalltalk-80 v2):</div>
<div><br></div><div>| s t c |</div><div>c := 0.</div><div>t := Time now.</div><div>[(s := Time now) = t] whileTrue.</div><div>[(t := Time now) = s] whileTrue: [c := c + 1].</div><div>Array with: s with: t with: c #(8:37:52 PM 8:37:53 PM 79465)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Cheers,<br><font color="#888888">
  - Andreas<br>
<br>
</font></blockquote></div><br>