Skip to content

Commit c9c12de

Browse files
committed
footnote about sicp
1 parent 2148d24 commit c9c12de

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

chapter_22_outside_in.asciidoc

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -477,25 +477,31 @@ And then we can just work inside the `extra_content` block:
477477
----
478478
====
479479

480-
We've made several design decisions in this template which are going
481-
to filter their way down through the code:
480+
We've made several design decisions in this template
481+
which are going to filter their way down through the code:
482482

483483
<1> We want a variable called `owner` to represent the user in our template.
484484

485-
<2> We want to be able to iterate through the lists created by the user using
486-
`owner.list_set.all` (I happen to know we get this for free from the Django
487-
ORM).
485+
<2> We want to be able to iterate through the lists created by the user
486+
using `owner.list_set.all`
487+
(I happen to know we get this for free from the Django ORM).
488488

489-
<3> We want to use `list.name` to print out the "name" of the list, which is
490-
currently specified as the text of its first element.
489+
<3> We want to use `list.name` to print out the "name" of the list,
490+
which is currently specified as the text of its first element.
491491

492-
NOTE: Outside-In TDD is sometimes called "programming by wishful thinking",
493-
and you can see why. We start writing code at the higher levels based on
494-
what we wish we had at the lower levels, even though it doesn't exist yet!
492+
NOTE: Outside-In TDD is sometimes called "programming by wishful thinking",footnote:[
493+
This phrase "programming by wishful thinking" was perhaps first used in
494+
the amazing, mind-expanding textbook
495+
https://en.wikipedia.org/wiki/Structure_and_Interpretation_of_Computer_Programs[SICP],
496+
which I _cannot_ recommend highly enough.]
497+
and you can see why.
498+
We start writing code at the higher levels
499+
based on what we wish we had at the lower levels,
500+
even though it doesn't exist yet!
495501

496502

497-
We can rerun our FTs, to check that we didn't break anything, and to see whether
498-
we've got any further:
503+
We can rerun our FTs, to check that we didn't break anything,
504+
and to see whether we've got any further:
499505

500506

501507
[subs="specialcharacters,macros"]

0 commit comments

Comments
 (0)