[erlang-questions] otp 21.2
Sam Overdorf
soverdor@REDACTED
Fri Dec 21 01:01:13 CET 2018
I don't know about you but if I am responsible for a production
environment I am in control of how everything starts and stops and
everything in between.
My goal for having all of this control is I want my production
environment to run simply and smoothly for all of my users.
My way of making it simple and smooth is to control everything and the
more tools I have to do this the better.
Sam
On Wed, Dec 19, 2018 at 4:23 PM Michael Truog <mjtruog@REDACTED> wrote:
>
> On 12/19/18 3:58 PM, Sam Overdorf wrote:
> > I have decided that this is really dumb that I have to run the
> > function "c:erlangrc()" just to load my ".erlang" file.
> > Some of my erlang files have multiple entry points and I have to
> > execute the function within each one of them (dumb idea).
> >
> > I'm use to having a configuration file that will get loaded every time
> > something "erlang" gets executed.
> > I don't care if I can't share my erlang with you. I have bigger things
> > to make work and that is why I need and use the ".erlang" file.
> >
> > Sam
> When Erlang is used in production, it is best to not have it loading a
> .erlang file that contains random things. For your own experimentation
> or development, you can always load things from .erlang with
> c:erlangrc/1 as was previously described. If Erlang loaded a .erlang
> file by default upon startup, it would be difficult to take it seriously
> for production use.
>
> Best Regards,
> Michael
More information about the erlang-questions
mailing list