Persistent_term is a global variable that is extremely hard to test, maintain. We are trying to move away from such approach and use erlang as pure as possible. I do not see any difference between persistent_term and application:get_env and both of them are global variables.