More tweaks
[cas-master-teacher-training.git] / programming.html
index 64f013fd446d4ca00886ca14e5f3915a93705f75..3323da422795aefe98923a9d09883cc958948fcc 100644 (file)
@@ -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']
 ```
 
@@ -419,8 +419,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>