# How does codex usually generate shared functions/modules?

**URL:** <https://community.openai.com/t/how-does-codex-usually-generate-shared-functions-modules/1413064>\
**Category:** Codex\
**Tags:** codex\
**Created:** [November 5, 2026, 9:56am UTC](https://community.openai.com/t/how-does-codex-usually-generate-shared-functions-modules/1413064 "2026-11-05T09:56:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![platypus](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/platypus/32/759972_2.png) [@platypus](https://community.openai.com/u/platypus)\
**Post date:** [November 5, 2026, 10:41am UTC](https://community.openai.com/t/how-does-codex-usually-generate-shared-functions-modules/1413064/2 "2026-11-05T10:41:59Z")

</div>

In my experience it will do exactly that, create common functions that are used by others. If it doesn’t you can tell it to adhere to principles of code reuse, abstraction and inheritance

---

_[View the full topic](https://community.openai.com/t/how-does-codex-usually-generate-shared-functions-modules/1413064)._
