Open cycomachead opened 10 years ago
I can't find this block in and Lab-Lists. The "item any" is first mentioned in this lab: https://inst.eecs.berkeley.edu/~cs10/labs/cur/programming/lists/hof/what-good-are-lists.html?topic=berkeley_bjc%2Flists%2Flists-I.topic&novideo=true&noreading=true&noassignment=true&course=cs10_fa14.html&step=1
Did you want me to add in that block and explain it here? Or can you let me know where this block is located is so I can explain it?
This is more of an example. It came from someone's homework 2 or 3, but it's a really common mistake. I'm not sure where exactly this specific case belongs, but I'm not sure the first lists lab is the best place.
Thinking about it -- The goal of this code is really the contains
block -- so perhaps this piece should be mentioned there as an example.
Or perhaps, this is really best as a quiz question, though I'd have to think about how to formulate into one.
Eventually, we'll also have a "lab" that's just a collection of Snap! Guides and resources and I think this would be a good page in there possibly.
We need to mention this somewhere... It happens to too many people.