# Is \`keyword\_argument = Val{true}\` good practice or an antipattern?

**URL:** <https://discourse.julialang.org/t/is-keyword-argument-val-true-good-practice-or-an-antipattern/75543>\
**Category:** General Usage\
**Tags:** type, precompilation, type-stability, ttfx\
**Created:** [January 31, 2022, 9:26pm UTC](https://discourse.julialang.org/t/is-keyword-argument-val-true-good-practice-or-an-antipattern/75543 "2022-01-31T21:26:19Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Krastanov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/krastanov/32/6817_2.png) [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Post date:** [February 1, 2022, 5:53pm UTC](https://discourse.julialang.org/t/is-keyword-argument-val-true-good-practice-or-an-antipattern/75543/15 "2022-02-01T17:53:47Z")

</div>

I am not referring to the quality of the compiled code - that would indeed be the same either way. However, from what I have read on this forum, this has an effect on whether Julia decides to **pre** -compile your code, and how long it takes to **import** your package. See the TTFX thread from last week [Taking TTFX seriously: Can we make common packages faster to load and use - #15 by Krastanov](https://discourse.julialang.org/t/taking-ttfx-seriously-can-we-make-common-packages-faster-to-load-and-use/74949/15)

---

_[View the full topic](https://discourse.julialang.org/t/is-keyword-argument-val-true-good-practice-or-an-antipattern/75543)._
