![]() | This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||
|
Due to cross linked articles, two identical pages were accidentally created, kindly requesting assistance from admin or experienced user to remove this duplicate page.
Solved: Admin removed the other page.— Preceding Student342 (talk) 13:58, 9 April 2015 (UTC)
This article seems closely related to ?:, should we consider merging them? DevSpenpai::talk 19:29, 28 March 2022 (UTC)
||
and &&
is a bit of an aberration. These are usually called boolean operators, even if they have short-circuit evaluation. We don't lose much if we merge this article into Ternary conditional operator. We could move some of the Java stuff into short-circuit evaluation or Boolean expression#Boolean operators, in case it's not already there. — Chrisahn (talk) 16:14, 2 February 2025 (UTC)
&
and |
are called "boolean logical operators"&&
is called "conditional-and operator"||
is called "conditional-or operator"? :
is called "conditional operator"&
and |
are called "Boolean logical operators"&&
and ||
are called "conditional logical operators" in general, and "Boolean conditional logical operators" in case the operands are Boolean? :
is called "conditional operator"&&
and ||
is more common than I thought. — Chrisahn (talk) 16:52, 2 February 2025 (UTC)
&&
and ||
, this is a distinct topic from ?:
. There's no point having an article duplicating the purpose of both. I see now that [1] uses "conditional operator" as an umbrella term for &&
, ||
and ?:
. But it seems this is an unusual, Java-specific use of the term, so there isn't really a point turning this into a disambiguation page. As such, the best CoA is to move any content from here not already in Ternary conditional operator and Short-circuit evaluation to those articles as applicable, and turn this into a redirect to Ternary conditional operator. If there's a case for directing people to Short-circuit evaluation, a {{redirect}} hatnote on Ternary conditional operator would be the best way. — Smjg (talk) 20:50, 16 June 2025 (UTC)