Talk:Short-circuit evaluation: Difference between revisions

From Rosetta Code
Content added Content deleted
Line 1: Line 1:
= Error in task? =
==Why a draft task?==
A comment in [http://rosettacode.org/wiki/Rosetta_Code:Village_Pump/Request_a_programming_task#Unsorted here] (look for ''shortcutting''), thought that the task would most likely not be written in a neutral manner. I've tried to write a task that allows each language, whether it has short-circuit evaluation or not, to solve the problem idiomatically. <br>
I saw the comments on the Icon solution, for example, which makes me think that the task could soon loose the draft status? --[[User:Paddy3118|Paddy3118]] 23:59, 24 July 2010 (UTC)

== Error in task? ==
The problem states:<pre> x = a(i) and b(j)
The problem states:<pre> x = a(i) and b(j)
y = a(j) or b(j)</pre>
y = a(j) or b(j)</pre>

Revision as of 23:59, 24 July 2010

Why a draft task?

A comment in here (look for shortcutting), thought that the task would most likely not be written in a neutral manner. I've tried to write a task that allows each language, whether it has short-circuit evaluation or not, to solve the problem idiomatically.
I saw the comments on the Icon solution, for example, which makes me think that the task could soon loose the draft status? --Paddy3118 23:59, 24 July 2010 (UTC)

Error in task?

The problem states:

  x = a(i) and b(j)
  y = a(j) or  b(j)

But the only example is written as:

  x = a(i) and b(j)
  y = a(i) or  b(j)

Either the definition of the first example is wrong. I'm guessing the task description but ... --Dgamey 17:50, 24 July 2010 (UTC)

You are right of course. Hopefully fixed now, thanks. --Paddy3118 23:43, 24 July 2010 (UTC)