# Is there a \`with\` operator or usage pattern?

**URL:** <https://discourse.julialang.org/t/is-there-a-with-operator-or-usage-pattern/52693>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [January 1, 2021, 1:05pm UTC](https://discourse.julialang.org/t/is-there-a-with-operator-or-usage-pattern/52693 "2021-01-01T13:05:06Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [January 1, 2021, 10:13pm UTC](https://discourse.julialang.org/t/is-there-a-with-operator-or-usage-pattern/52693/18 "2021-01-01T22:13:43Z")

</div>

[StaticModules.jl](https://github.com/MasonProtter/StaticModules.jl) has a performant `@with` macro as well.

Though `@unpack` I think is best since its the most explicit.

---

_[View the full topic](https://discourse.julialang.org/t/is-there-a-with-operator-or-usage-pattern/52693)._
