Re:Microsoft Concept Graph
by majewsky on Wednesday November 02, 2016 @06:50AM
(#12853513)
Hm no, you used = instead of ==, so this will never seek food. ;)
[ Parent
| on HN ]
You probably mean that it will always seek food since the assignment evaluates to 'true' when it's successful (which is usually the case).
In what language? In all that I know, assignment evaluates to the value that was assigned (that is, if it evaluates to anything at all). Also in most languages that look like C, 0 evaluates to false. Therefore it will never seek food.