Today started out in a lecture format. We covered a boatload of topics - and all before lunch! We briefly but thoroughly enough (since most of us were already familiar with these topics) touched on variables, if statements, else statements, else if statements, loops, nested loops, functions, objects, and constructor functions.
Instead of going into all of these topics and restate what I already know, I thought I'd point out the things I didn't already know just in case you didn't as well (and so I can reference it if I forget).
First thing being the difference between == and ===. When making an equality comparison == is the abstract equality and === is the strict equality. == will convert a value if it can and then run the comparison while === will not.
The difference between a parameter and an argument in a function depends on if you're creating the function or not. If you're creating the function then you are assigning it's "parameters". But if you are calling the function and the parameters are already set, you are giving it "arguments".
I don't quite understand constructor functions yet, so I'll watch a couple of videos and get back to that one.
After lunch we did pair coding. My partner and I are trying to do a project that includes mostly all we covered today. So far, it's a flower that loses a petal while two other petals shake in the wind. Let's see how it progresses.
~ Lisa Lou
Instead of going into all of these topics and restate what I already know, I thought I'd point out the things I didn't already know just in case you didn't as well (and so I can reference it if I forget).
First thing being the difference between == and ===. When making an equality comparison == is the abstract equality and === is the strict equality. == will convert a value if it can and then run the comparison while === will not.
The difference between a parameter and an argument in a function depends on if you're creating the function or not. If you're creating the function then you are assigning it's "parameters". But if you are calling the function and the parameters are already set, you are giving it "arguments".
I don't quite understand constructor functions yet, so I'll watch a couple of videos and get back to that one.
After lunch we did pair coding. My partner and I are trying to do a project that includes mostly all we covered today. So far, it's a flower that loses a petal while two other petals shake in the wind. Let's see how it progresses.
~ Lisa Lou
No comments:
Post a Comment
Let me know what you think....