in reply to Reading Someone's Program


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: Reading Someone's Program
by Anonymous Monk on May 17, 2011 at 14:55 UTC

    A good rule of thumb for the "often" part of local committing is:
    you've changed something and managed to get it to compile again -> commit!

      "managed to get it to compile again" o.O? I'm going to assume you mean "have added thorough tests for the changed code and confirmed they all pass".
      Me

        No, that would be the commit following :)

        I really don't like having the (small) fix in the same commit as the commit that adds a number of tests to verify the fix. Note that the OP is dealing with a project that does not have tests (yet).

        In a project where you do test-driven development, I would completely agree with you.


        Enjoy, Have FUN! H.Merijn