I just took a look at the second exercism practice problem, and I have no clue how to solve it! Here’s the first thing I don’t understand:
Is this an array? An object? Why is
word not in quotes like most strings usually are? Does that mean it’s a property of an object? But then…
Why are some of these things in quotes and others aren’t? And what about this:
I thought variable names couldn’t begin with numbers. Are the rules different for properties of objects? Or are these array indexes?
And here’s another thing I haven’t learned yet, which I saw in the skeleton file for my first exercism submission:
I don’t actually know what a protoype is. I don’t know how this is different from these other ways to define a method:
Ugh, I hate it when I waste too much time fretting over the “best” way to learn something instead of just diving in and learning it!
A more personal note/rant: I meant to work on this some more today and start answering my questions, but that will have to wait until tomorrow because somehow it’s already my bedtime. Oops. The day slipped away from me again, between meetup group stuff and chores and personal corespondences and my day job. I want to do better tomorrow, but I also don’t want to beat myself up over not accomplishing as much as I wanted to today. I do seem to be more productive when I practice self-acceptance, so I’m making a point of doing that more again.