Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Giving a program priority briefly
- Date: Tue, 12 Jun 2007 13:22:12 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Giving a program priority briefly
- References: <466B5A87.7000002@dcook.org> <78d7dd350706100221u524aa0baxa6498541674863b0@mail.gmail.com> <466BD066.90302@dcook.org> <78d7dd350706101016x184c0a29tbda67c68d66191ed@mail.gmail.com> <466C7778.1050803@dcook.org> <78d7dd350706101834k2d764dcbsd3af2c924f29743b@mail.gmail.com> <466CCBED.30902@dcook.org> <78d7dd350706110108l4acf4a83p70e1f1b55eb9a73e@mail.gmail.com> <87myz6fssg.fsf@uwakimon.sk.tsukuba.ac.jp> <Pine.NEB.4.64.0706120127200.22712@homeric.cynic.net> <466DD92C.70801@dcook.org> <87ir9uexx1.fsf@uwakimon.sk.tsukuba.ac.jp>
- User-agent: Thunderbird 1.5.0.10 (X11/20070301)
> Note that Darren and Curt are talking about entirely different levels > or scales of work ... Really, it sounded to me like we were saying the same thing. The point of the philosophy of distinct refactor/new-functionality/optimize stages, at the sub-hour level, is that it is easy to go back to a working version at any point. If you change just one thing between running the tests then if it breaks you know the problem, or at least have a very big clue. If you change two things, you have more work to do. More realistically (at least in my work if I don't discipline myself) I spend half an hour on: adding a new parameter, change the code that calls it, fix some documentation as I go, rename a function, rename a parameter name, move a function up or down a class hierarchy, reformat some code so I can understand it better, then say, "OK, beautiful, lets see what breaks". And when it does break, I'm potentially looking for a needle in a haystack (*). It is often easier to just throw away my half hours work and start again, in smaller steps, from the last good version. Darren *: Even something as trivial as renaming a parameter can cause very subtle bugs if the parameter name was also the name of a variable in one of the base classes. Tip of the day: use -Wshadow in g++.
- Follow-Ups:
- Re: [tlug] Giving a program priority briefly
- From: Josh Glover
- Re: [tlug] Giving a program priority briefly
- From: Stephen J. Turnbull
- References:
- [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Nguyen Vu Hung
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Nguyen Vu Hung
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Nguyen Vu Hung
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Nguyen Vu Hung
- Re: [tlug] Giving a program priority briefly
- From: Stephen J. Turnbull
- Re: [tlug] Giving a program priority briefly
- From: Curt Sampson
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Correct particle to use
- Next by Date: Re: [tlug] Giving a program priority briefly
- Previous by thread: Re: [tlug] Giving a program priority briefly
- Next by thread: Re: [tlug] Giving a program priority briefly
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links