From: Jon Speicher Date: Sat, 27 Jul 2013 19:27:45 +0000 (-0400) Subject: Add example headers X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d340ea2c53e02ffd08b42a6f878fef31308dd936;p=swc-testing-nose.git Add example headers --- diff --git a/python/sw_engineering/SoftwareEngineering.ipynb b/python/sw_engineering/SoftwareEngineering.ipynb index 74d261c..a50a53e 100644 --- a/python/sw_engineering/SoftwareEngineering.ipynb +++ b/python/sw_engineering/SoftwareEngineering.ipynb @@ -165,7 +165,14 @@ "\n", "One approach to reducing this duplication is to *decompose* the function above into several separate functions, each with a single, small, well-defined responsibility (remember our list of good function criteria from the Intro session). This is often known as [refactoring](http://en.wikipedia.org/wiki/Code_refactoring). The goal is to rearrange code to make it easier to read, maintain, and reuse while preserving the existing functionality.\n", "\n", - "We are going to *extract* a new function from `count_wolverines`.\n", + "We are going to *extract* a new function from `count_wolverines`." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Exercise: Read animal sightings from a file\n", "\n", "Create a new function called `read_sightings_from_file`. The function should:\n", "\n",