Talk:Short-circuit evaluation: Difference between revisions

(→‎Control structure?: new section)
Line 17:
 
I would be inclined to add the control structure tag to this task. Lisp was one of my early languages to learn, and I always though of short-circuit <tt>and</tt> and <tt>or</tt> as control structures. (Of course, as I later learned, many concepts that seem natural and intuitive in Lisp are viewed as insanity by the mainstream imperative programming world....) Anyone else have feelings about adding or not adding the control structure tag? &mdash;[[User:Sonia|Sonia]] 17:18, 20 April 2011 (UTC)
 
:In my opinion, short-circuit evaluation is a form of flow of control in any language with side effects. (And, in languages without side effects, flow of control is not a meaningful concept -- there, it's just a question of which results get used, but that should not matter here.) --[[User:Rdm|Rdm]] 17:44, 20 April 2011 (UTC)
6,951

edits