|
|
|
|
|
by ChuckMcM
5029 days ago
|
|
Hah. Yes, you have reached the edge of grey-land where the number of black and white statements become fewer and fewer. :-) Yes this is entirely a function of your experience, so now that you know what can be done your ability to choose is compromised. Its funny because this happens with anything where there is a surplus of the currency [1]. The short answer is that the next step on the journey is to prune meta-requirements. You have this endless tree stretching before you and you start writing the code where you put blocks in the group and you note how it would have to change if it would need something more complex and then you stub that off with a comment like: # this only handles one level of grouping to group further
# will require a subclass for groups which identify the type
# and a method for invoking that groups display policies.
Then move on. People will be amazed when they come to you and say "Uh, we kind of want to group by color..." and you say "Ok" and then blam that change is in. Basically you build your potential into the structure of the code so that if any of these possibilities are realized you can do them quickly. |
|