You could probably create a macro that flips things around depending on the Elixir version but it wouldn’t be supported by Elixir per se.
If you do not want a developer to decide what you need to do with the code written by said developer, maybe you shouldn’t be using their code?