View Single Post
Old 01-10-2013, 10:27 AM   #28
Knitting the Flap
mojo11's Avatar
Join Date: Dec 2012
Location: Raleigh, NC
Posts: 456
Thanks: 22
Thanked 55 Times in 49 Posts
Originally Posted by dudeKnit View Post
I've actually noticed a fairly staggering similarity between knitting and programming. The most obvious
The needle reminds me of a stack, and the stitches are put into the stack in FILO fashion.
Mmm... I suppose I can see the stack analogy if you think of the CO as a "push", but it kinda falls apart when you "pop" the stitches off and they "push" onto another stack on the RH needle. But the do-while/do-until, yeah. For sure.
mojo11 is offline   Reply With Quote