# Differences in these expressions?

**URL:** <https://discourse.julialang.org/t/differences-in-these-expressions/44115>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [August 2, 2020, 1:57am UTC](https://discourse.julialang.org/t/differences-in-these-expressions/44115 "2020-08-02T01:57:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [August 3, 2020, 12:21pm UTC](https://discourse.julialang.org/t/differences-in-these-expressions/44115/6 "2020-08-03T12:21:17Z")

</div>

> [@Hawk](#):
>
> is ( **which should be the same as in the third expression?** )
> 
> ```julia
> :($(1+2))
> 
> ```
> 
> And I expect its behavior is the same as:
> 
> ```julia
> Expr(:$,:(1+2))
> 
> ```

You asked the same question yesterday in

> [@Why they are not equivalent?](https://discourse.julialang.org/t/why-they-are-not-equivalent/44078/):
>
> A try like below: Expr(:$,:(1+2)) == :($(1+2)) gives false. Why they are not equivalent? I suppose the righthand side has been evaluated to 3. Is this the real reason? Thanks!

Please don’t open new topics for the same question, especially if you got an answer (if the answer is not satisfactory, just say so and hopefully others will respond and clarify).

---

_[View the full topic](https://discourse.julialang.org/t/differences-in-these-expressions/44115)._
