Can we talk about how nobody told me a for loop prints 47 lines of "undefined" before I even learn what an array is? | Coding For Beginners - Pinecone Attack
Reminds me of when I first messed with Python and forgot to indent something. Whole thing blew up with an error I couldn't read and I sat there thinking my laptop was broken. Turns out the computer does exactly what you tell it, even when what you told it makes zero sense. That's the thing nobody warns you about. A for loop will happily run forever and spit out garbage because it doesn't know it's wrong. You learn more from breaking stuff in an hour than from a whole chapter of a book.