<?xml version="1.0" encoding="windows-1252"?>
<node id="1018166" title="Re^3: Untillian Headache or about the semantic of until" created="2013-02-11 10:44:33" updated="2013-02-11 10:44:33">
<type id="11">
note</type>
<author id="171588">
BrowserUk</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;In have studied cognitive development in children for the purpose of AI ...&lt;/i&gt;&lt;/blockquote&gt;

&lt;p&gt;I cannot argue against your claimed experience. But ... 

&lt;blockquote&gt;&lt;i&gt;thinking in negation &lt;/i&gt;&lt;/blockquote&gt;

&lt;p&gt;I can counter that. 

&lt;p&gt;Waiting, or repeating something &lt;b&gt;until something happens&lt;/b&gt;; is not &lt;i&gt;thinking in negation&lt;/i&gt;.

&lt;p&gt;However, waiting or repeating something &lt;b&gt;while something &lt;i&gt;has not&lt;/i&gt; happened&lt;/b&gt;; is!

&lt;blockquote&gt;&lt;i&gt;even experienced programmers, ... make mistakes &amp;#91;when&amp;#93; code that contains negation of large expressions. &lt;/i&gt;&lt;/blockquote&gt;

&lt;p&gt;I'll take it that by "large expressions" you really mean "complex expressions".

&lt;p&gt;And that points up the error in this justifiction. [until] (used properly) does not contain a negation. 

&lt;p&gt;[until] (used properly), captures the positive expression of the terminating condition.
&lt;P&gt;Eg. Contrast:

&lt;ul&gt;&lt;li&gt;&lt;c&gt;until(  eof ) {&lt;/c&gt; Loop until you get to the end of file.
&lt;/li&gt;&lt;li&gt;&lt;c&gt;while( !eof ) {&lt;/c&gt; Loop while you haven't reached the end of the file.
&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;Which requires "thinking in negation"?

&lt;blockquote&gt;&lt;i&gt;I have seen a similar argument put forth in the book Perl Best Practices&lt;/i&gt;&lt;/blockquote&gt;

&lt;p&gt;Never in the history of programming, has so much, been screwed up for so many; by so little justification.

&lt;p&gt;This is far from the worst atrocity that book has inflicted.


&lt;div class="pmsig"&gt;&lt;div class="pmsig-171588"&gt;
&lt;hr /&gt;
&lt;font size=1 &gt;
&lt;div&gt;With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'&lt;/div&gt;
&lt;div&gt;Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.&lt;/div&gt;
&lt;div&gt;"Science is about questioning the status quo. Questioning authority". &lt;/div&gt;
&lt;div&gt;In the absence of evidence, opinion is indistinguishable from prejudice.
&lt;/div&gt;
&lt;/font&gt;

&lt;/div&gt;&lt;/div&gt;

</field>
<field name="root_node">
1018143</field>
<field name="parent_node">
1018158</field>
</data>
</node>
