X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=programming.html;h=fb855a26af019ddd096bf26c6b965c082a010c21;hb=3ab55bb47f2d0d964d4f3ce5a3ce00544bbb5e99;hp=64f013fd446d4ca00886ca14e5f3915a93705f75;hpb=19bfee3bd57e9e39343787e19ba79881f1399bf6;p=cas-master-teacher-training.git

diff --git a/programming.html b/programming.html
index 64f013f..fb855a2 100644
--- a/programming.html
+++ b/programming.html
@@ -203,7 +203,7 @@ Must be part of your mental model
 * Use any type as the value
 
 ```python
-neil = {'first_name': Neil', 'surname': Smith', 'age': 44}
+neil = {'first_name': 'Neil', 'surname': 'Smith', 'age': 44}
 neil['surname']
 ```
 
@@ -316,13 +316,14 @@ Turn the Euler 11 grid into:
 
 Do both with explicit iteration, then using only comprehensions.
 
----
-
-# Solutions with explicit loops
 ```python
 grid_nums = [int(n) for n in GRID_STRING.split()]
 ```
 
+---
+
+# Solutions with explicit loops
+
 ```python
 g1 = []
 for rowstart in range(0, ROWS * COLUMNS, COLUMNS):
@@ -419,8 +420,21 @@ p.x + p.y
 
 ---
 
+# Data, not algorithms
+
+Don't put complex, changable logic into code
+
+Build a data structure that describes it, code that reads it.
+
+* Euler 11 directions
+* Multiple choice quiz
+
+---
+
 # Algorithms: trading space for time
 
+## Euler 14
+
     </textarea>
     <script src="http://gnab.github.io/remark/downloads/remark-0.6.0.min.js" type="text/javascript">
     </script>