Anton Antimo <ant…@safunu.org> wrote:
>
> Why should I
>
> (in-package :cl-user)
>
> before defining my own package?
When a file is loaded the package is initially whatever its ambient value
was. Making it be CL-USER removes that uncertainty (to be more paranoid you
might want to say (cl:in-package :cl-user)).
>
> And why should I define my own package to define my system?
>
I generally define systems in ASDF-USER. But in the case you give it's not
just systems being defined: it's other things as well: you likely want
those in their own package, not some shared playground.
--
tfeb.org/computer/