# Boxing obvious cases where the type is clear

**URL:** <https://discourse.julialang.org/t/boxing-obvious-cases-where-the-type-is-clear/107192>\
**Category:** Performance\
**Created:** [December 6, 2023, 3:25am UTC](https://discourse.julialang.org/t/boxing-obvious-cases-where-the-type-is-clear/107192 "2023-12-06T03:25:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [December 6, 2023, 4:37am UTC](https://discourse.julialang.org/t/boxing-obvious-cases-where-the-type-is-clear/107192/5 "2023-12-06T04:37:42Z")

</div>

> [@feribg](#):
>
> So how can the variables be passed in the do blocks in an idiomatic way such that they’re captured correctly ?

Personally I just don’t use `do` blocks. They’re unnecessary syntax sugar anyway, and arguably make the code more diffcult to follow.

---

_[View the full topic](https://discourse.julialang.org/t/boxing-obvious-cases-where-the-type-is-clear/107192)._
