Teaching python to non-programmers
Tim Chase
python.list at tim.thechases.com
Fri Apr 11 08:39:56 EDT 2014
On 2014-04-11 11:34, Steven D'Aprano wrote:
> >> That's equivalent to being told "Don't ever delete any of your
> >> code, just comment it out". I don't care who's saying that, it's
> >> bad advice.
> >
> > The correct analogy: "Dont ever delete content from the
> > repository"
>
> No -- the repository is the email archive. (Your inbox, perhaps.)
> You don't keep a copy of the entire repo in every source file.
Clearly you've not seen some of the corporate code-bases I've had to
touch. «shudder» I still have nightmares about vast swaths of code
commented out or "#ifdef 0"ed out.
Then again, since they used Visual Source Safe, it might have been
the smarter/safer option ;-)
-tkc
More information about the Python-list
mailing list