# Precompile a script?

**URL:** <https://discourse.julialang.org/t/precompile-a-script/5364>\
**Category:** General Usage\
**Tags:** question\
**Created:** [August 13, 2017, 9:29pm UTC](https://discourse.julialang.org/t/precompile-a-script/5364 "2017-08-13T21:29:49Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![zachmatson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zachmatson/32/9397_2.png) [@zachmatson](https://discourse.julialang.org/u/zachmatson)\
**Post date:** [May 20, 2020, 2:20pm UTC](https://discourse.julialang.org/t/precompile-a-script/5364/13 "2020-05-20T14:20:33Z")

</div>

Didn’t think much about usage outside of a main function (type stability and making sure the compiler knows the types was one of the big goals with `ArgMacros`) but I guess maybe Julia is just at the point right now where it makes more sense not to use one for short scripts. Might add untyped versions of all of the macros when I finish a version 1.0 if this could be useful, or a different version of `@beginarguments` that disables typing.

---

_[View the full topic](https://discourse.julialang.org/t/precompile-a-script/5364)._
