n
6

I thought learning to code from a book was a joke until I got stuck on a project and the 'Head First Java' book my buddy gave me actually explained loops in a way that finally clicked.

Honestly, I was ready to quit after watching like 15 different YouTube tutorials that all said the same thing, but that book had a stupid cartoon about a dog chasing its tail that made the whole 'while' vs 'for' loop thing make sense in about 10 minutes.
2 comments

Log in to join the discussion

Log In
2 Comments
wood.emery
That dog cartoon is basically how I explain loops to my non-tech friends now.
3
tara745
tara7452d ago
It's a perfect example for explaining loops. The dog just keeps doing the same thing over and over until the condition changes. Visual stuff like that really sticks in people's heads. It beats trying to talk about code syntax with someone who has never seen it. That cartoon gets the core idea across in seconds. More teachers should use simple analogies like that.
-2