Recursion05: Instruction fix#98
Recursion05: Instruction fix#98nvirth wants to merge 1 commit intoTeachingKidsProgramming:masterfrom
Conversation
The end of the TeachingKidsProgramming#10.2 if was not marked explicitely, but there were misleading indentations. Patched it now, based on the task's reference solution: https://github.com/TeachingKidsProgramming/TeachingKidsProgramming.Source.Java/blob/master/src/main/java/org/teachingkidsprogramming/recipes/completed/section05recursion/RecursiveSquare.java
|
Thanks so much for taking the time to review this lesson. Because our target audience is 10-14 year old kids and one of our design goals is to to introduce between 1-3 new programming concepts per lesson set (or course), we actually deliberately did not include directions about where to end the 'if' blocks in this recipe. The expectation is that this will be (as all of our lessons) a teacher-led discussion of what happens when you you put 'the mustache in a different place' (end the statement block with curly braces). You may note that we DID include the English instructions for the end of a for loop 'End Repeat' and end of an extracted method 'End of Recipe X' because we want to focus on what the impact of properly understanding where to end a conditional block is. |
The end of the #10.2 if was not marked explicitely, but there were misleading indentations.
Patched it now,
based on the task's reference solution:
https://github.com/TeachingKidsProgramming/TeachingKidsProgramming.Source.Java/blob/master/src/main/java/org/teachingkidsprogramming/recipes/completed/section05recursion/RecursiveSquare.java