# Protect from @

**URL:** <https://discourse.julialang.org/t/protect-from/5088>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 27, 2017, 7:10am UTC](https://discourse.julialang.org/t/protect-from/5088 "2017-07-27T07:10:34Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [July 27, 2017, 7:10am UTC](https://discourse.julialang.org/t/protect-from/5088/1 "2017-07-27T07:10:34Z")

</div>

Is there a way **not** to broadcast some part of an expression with `@.`? MWE:

```julia
xs = (1, 2)
λs = (0.1, 0.2)
log.(xs) + log.(1.-xs) + log.(1. + rev(xs). + xs. * λs)

```

( **note: no broadcasting for** `rev`) would be much more convenient and readable as

```julia
@. log(xs) + log(1-xs) + log(1 + PROTECT(rev(xs)) + xs * λs)

```

---

<div class="post-metadata">

**Author:** ![wonjinChoi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wonjinchoi/32/11602_2.png) [@wonjinChoi](https://discourse.julialang.org/u/wonjinChoi)\
**Post date:** [July 27, 2017, 7:26am UTC](https://discourse.julialang.org/t/protect-from/5088/2 "2017-07-27T07:26:25Z")

</div>

> You can opt-out of the dots for specific function calls by splicing with $, e.g. @. sqrt($sort(abs(x))) is equivalent to sqrt.(sort(abs.(x))).

quote from [https://github.com/JuliaLang/julia/pull/20321](https://github.com/JuliaLang/julia/pull/20321) 🙂
