3 ms·
Can you give an example of what you mean by “idioms and syntax rules”? I’ve been using Elixir for a long time and I don’t know what this could refer to. Even w
by jswny 6y ago
Can you give an example of what you mean by “idioms and syntax rules”?
I’ve been using Elixir for a long time and I don’t know what this could refer to. Even with macros, all code still has to follow the same Elixir syntax. You can’t actually change that syntax nor can you extend it for the most part unless you are using libraries that are somehow writing their own control structures they are forcing you to use or something? I’ve never heard of that.
Also, if you are just talking about enforcing consistency style wise, there's https://github.com/rrrene/credo https://github.com/rrrene/credo which is very popular, and the build tool Mix comes with a formatter by default which can standardize your codebase.