kms

Top-down Programming

February 10, 2014

Think about the ideal way to write a web app. Write the code to make it happen.

Aaron Swartz (from web.py)

If we write the code that we think we will need, before we actually need it, we likely are writing code we don’t need. Instead, use lazy evaluation to implement only the code that you need as you need it! This prevents the creation of spaghetti code. Not only does this keep our implementation simple, but this also allows us to program in the problem domain, which makes it easier to find problems later.

I’ve been using readme driven development to implement my port of QuickCheck to Python. It seems to be working well so far. All I have left is to add some tests, and name it! Any ideas for the name? There’s already quite a few other libraries that have taken the good names.