# What do you think about using generated functions for constants?

**URL:** <https://discourse.julialang.org/t/what-do-you-think-about-using-generated-functions-for-constants/87149>\
**Category:** General Usage\
**Created:** [September 12, 2022, 4:16pm UTC](https://discourse.julialang.org/t/what-do-you-think-about-using-generated-functions-for-constants/87149 "2022-09-12T16:16:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [September 12, 2022, 4:50pm UTC](https://discourse.julialang.org/t/what-do-you-think-about-using-generated-functions-for-constants/87149/2 "2022-09-12T16:50:07Z")

</div>

There is a pretty involved discussion about this topic here: [Constant propagation vs generated functions](https://discourse.julialang.org/t/constant-propagation-vs-generated-functions/83788)

---

_[View the full topic](https://discourse.julialang.org/t/what-do-you-think-about-using-generated-functions-for-constants/87149)._
