# "and", "or", bitwise or shortcircuit, what we get searching docs

**URL:** <https://discourse.julialang.org/t/and-or-bitwise-or-shortcircuit-what-we-get-searching-docs/46263>\
**Category:** New to Julia\
**Created:** [September 8, 2020, 1:27pm UTC](https://discourse.julialang.org/t/and-or-bitwise-or-shortcircuit-what-we-get-searching-docs/46263 "2020-09-08T13:27:37Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 8, 2020, 2:09pm UTC](https://discourse.julialang.org/t/and-or-bitwise-or-shortcircuit-what-we-get-searching-docs/46263/11 "2020-09-08T14:09:11Z")

</div>

> [@lmiq](#):
>
> I meant comparing to this:
> 
> ```julia
> >>> 1 == 1 and 2 == 2
> True
> 
> ```

But note that Python’s `and` is `&&` in Julia, so you already have that.

> [@lmiq](#):
>
> common language and logic

There is nothing “logical” in calling that operator `and` as opposed to `&&`. Various languages have different conventions, you cannot derive this from first principles. At least not spelling them out is consistent (cf `1 + 1` vs `1 plus 1`).

> [@lmiq](#):
>
> we logically would use `and` and `or`

We would, if we were using another programming language that uses these operators. Again, you appeal to “logic”, but these are (arbitrary) syntactic decisions.

In any case, this is unlikely to change now (unless, of course, we [all go Zen](https://discourse.julialang.org/t/feedback-make-julia-as-pythonic-as-possible/46216/11)).

> [@PSA: Julia is not at that stage of development anymore](https://discourse.julialang.org/t/psa-julia-is-not-at-that-stage-of-development-anymore/44872):
>
> You heard about this brand new exciting programming language called Julia and have some suggestions for how it should work. Wonderful! We’re happy to have you here and help you learn the language and listen to your ideas! However, please be aware that “new” is a relative term. Yes, Julia is newer than, say, C, which was first created in 1972 and standardized in 1989. It is not, however, new in the sense that it is still being freely designed and changed in arbitrary ways. Julia development start…

---

_[View the full topic](https://discourse.julialang.org/t/and-or-bitwise-or-shortcircuit-what-we-get-searching-docs/46263)._
