Hi friends, I have some hard-coded settings that I need to create a form with it, but it is so long in some page.
I want to ask what is your preference for keeping it. You import from a Jason file, or you are comfortable with dirty module like this code.
As you see, I have a long list for each tuple which I need to have them in runtime
There is, it is called @external_resource. If you are reading a static configuration, there is never a need to use any runtime constructs, when you can inject the configuration into the module directly.