# Is reducing the use of macros a good choice in AI programming?

**URL:** <https://erlangforums.com/t/is-reducing-the-use-of-macros-a-good-choice-in-ai-programming/5593>\
**Category:** Questions / Help\
**Tags:** ai, code\
**Created:** [April 29, 2026, 3:20am UTC](https://erlangforums.com/t/is-reducing-the-use-of-macros-a-good-choice-in-ai-programming/5593 "2026-04-29T03:20:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominic](https://erlangforums.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@dominic](https://erlangforums.com/u/dominic)\
**Post date:** [April 29, 2026, 3:20am UTC](https://erlangforums.com/t/is-reducing-the-use-of-macros-a-good-choice-in-ai-programming/5593/1 "2026-04-29T03:20:58Z")

</div>

I found that using macros in AI makes it easy for AI to forget it and then use primitive Erlang programming

Although it is possible to add them as prompt words every time, it is more laborious and takes up a lot of context for some complex macros

Is reducing the use of macros a good choice in AI programming?

Welcome to share your AI programming experience with Erlang 😀
