Sunday, October 28, 2012

Incremental Development

This is the first time I know the concept of Incremental Development. I know it from the exercise of Dict and File section of Google Python Class. I think this concept is great for people that not experienced to programming like me.

Here is what author of the python class said about the concept:
Building a Python program, don't write the whole thing in one step. Instead identify just a first milestone, e.g. "well the first step is to extract the list of words." Write the code to get to that milestone, and just print your data structures at that point, and then you can do a sys.exit(0) so the program does not run ahead into its not-done parts. Once the milestone code is working, you can work on code for the next milestone. Being able to look at the printout of your variables at one state can help you think about how you need to transform those variables to get to the next state. Python is very quick with this pattern, allowing you to make a little change and run the program to see how it works. Take advantage of that quick turnaround to build your program in little steps.
This can make programming much easier.  Sorry for my bad English. I'll work much harder to improving my English writing skills. : )

PS: Is there anyone want to learn Chinese or Korean? If there is, I can help you with Chinese or Korean, then you can help me with my poor English. Thanks!


No comments:

Post a Comment