Displaying 2 results from an estimated 2 matches for "go_to_town".
2016 Oct 03
0
On implementing zero-overhead code reuse
...me of the analysis, and tag the commit with the KEEPER tag.
Several months later, I want to repeat that exact analysis for some
whatever reason. If the code for the analysis was in Python (say),
all I need to do is this (at the Unix command line):
% git checkout KEEPER
% python src/python/go_to_town.py
...knowing that the `git checkout KEEPER` command, *all by itself*,
has put the working directory in the state I want it to be before I
re-do the analysis.
AFAICT, if the code for the analysis was in R, then `git checkout`, by
itself, would *not* put the working directory in the desired state....
2016 Oct 03
2
On implementing zero-overhead code reuse
On 10/03/2016 01:51 PM, Kynn Jones wrote:
> Thank you all for your comments and suggestions.
>
> @Frederik, my reason for mucking with environments is that I want to
> minimize the number of names that import adds to my current
> environment. For instance, if module foo defines a function bar, I
> want my client code to look like this:
>
> import("foo")
>