Init.m considerations and good practices

前端 未结 3 2038
孤城傲影
孤城傲影 2021-02-02 03:08

As I never found (or perhaps I never search for it enough) a good article about how to manage the init.m files, I ended up developing my own \"standard\", but I wonder how bad I

3条回答
  •  生来不讨喜
    2021-02-02 03:23

    Having also not followed an official doctrine, I can only tell you what I do.

    My Kernel/init.m contains no functions itself. I use it to:

    • Set certain options: $HistoryLength SetDirectory etc.
    • Do a little cleanup (I prefer not to start with a blank notebook)
    • Set my desired DeclarePackage calls
    • Load my custom functions package

提交回复
热议问题