# Quick one: When to syntax-parameterize?

**URL:** <https://racket.discourse.group/t/quick-one-when-to-syntax-parameterize/3241>\
**Category:** Questions & Answers\
**Created:** [October 19, 2024, 9:47pm UTC](https://racket.discourse.group/t/quick-one-when-to-syntax-parameterize/3241 "2024-10-19T21:47:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bakgatviooldoos](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/bakgatviooldoos/32/1381_2.png) [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Post date:** [October 19, 2024, 9:47pm UTC](https://racket.discourse.group/t/quick-one-when-to-syntax-parameterize/3241/1 "2024-10-19T21:47:26Z")

</div>

Hi, Racket Discourse.

I have a macro that controls its internal state via a `syntax-parameter` which the user toggles via a mnemonic phrase in the macro-body to either on or off over the course of its expansion.

Now, this is never exposed beyond the mnemonic phrase, so no `provide`; therefore, my question: **is the parameter a good fit for the situation** or **should I be using a different sort of control mechanism**?

I am very fond of using regular parameters--sometimes too much. The code works, no problem, but is it the right hammer for this nail?
