is there any principle when writing python function
Roy Smith
roy at panix.com
Sat Aug 27 12:41:36 EDT 2011
Chris Angelico <rosuav at gmail.com> wrote:
> the important
> considerations are not "will it take two extra nanoseconds to execute"
> but "can my successor understand what the code's doing" and "will he,
> if he edits my code, have a reasonable expectation that he's not
> breaking stuff". These are always important.
Forget about your successor. Will *you* be able to figure out what you
did 6 months from now? I can't tell you how many times I've looked at
some piece of code, muttered, "Who wrote this crap?" and called up the
checkin history only to discover that *I* wrote it :-)
More information about the Python-list
mailing list