B33 – Day 2

I didn’t know that I was going to sit down and write something today, but then I felt like it a few minutes ago. I’ll come back to that.

Yesterday was super busy. We didn’t even make it through the list on Sam’s index card, according to Sam at the end of the day (I’d like to take a photo of it – it was illegible even from my new & improved vantage point in row 2, Sam has tiny handwriting, but it was full top to bottom and three columns deep.)

A *LOT* of it was from the reading we’ve been doing, and it’s all Foundations of JavaScript,
so we can get a grasp of the terminology, practices, concepts.

We covered: code style (including best practices and readability,) DRY (don’t repeat yourself) Flowcharts, pseudocode, and then spent some time talking about yesterday’s game assignment and some of the assignment comments we’d made when submitting it.

One thing I wanted to make note of here and specifically put it in my notes: Someone mentioned that one incorrect character can prevent function. This makes me think about my biggest pet peeve: bad use of English language, poor spelling and grammar! Sadly, in everyday writing/reading, science has shown that we can read and comprehend some pretty garbled text. Even 55% is a pretty high number of people that are able to read:

fi yuo cna raed tihs, yuo hvae a sgtrane mnid too. Cna yuo raed tihs? Olny 55 plepoe out of 100 can.

i cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno’t mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghi t pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt! if you can raed tihs forwrad it.

(Side note: That ^^^ just about broke WordPress. I almost had a stroke looking at all the red underscores.)

It’s posed as ONLY 55% can read that, and the implication is that, if you can read this, you have great comprehension! I’ve been seeing this and similar articles/posts going around for years, and people get really excited about it – “Cool! Spelling really DOESN’T matter!”

BAH. HUMBUG. I love code because you can’t really just let errors go. Your vocabulary and syntax really should be correct. Even though JavaScript uses text coercion (unlike some other languages) it’s considered bad practice to have sloppy code with superfluous characters. I LOVE THIS. I’ve definitely found my place in the world.

After that, it was rapid fire review from the reading we’ve been doing.

Objects and Properties, key:value pairs, events, line termination, commenting, variables and naming them, Expressions and Operators, Functions and Loops (oh my!)

After lunch the assignment was to pair program with a partner, and work on each other’s code from the day before, improving and enhancing it. We had looked at one person’s code that morning, as an example, and I have to admit that when I saw it, I was hoping I wouldn’t get paired with him. I’d kept my code very simple, and his was easily twice as long and complicated, appeared to have redundancies etc. Of course, I got paired with him. Turns out he was a really great, super cool guy who was totally easy to work with and we had a great time working on this.

We went over my code and I was a bit aflutter that we agreed that it was really clean, and formatted nicely with proper indentation, etc. And very DRY. We decided to add a function, and after messing around with that for a while, ended up adding a while loop instead. Then got totally stuck on working with GitHub, so we switched to me working on his code.  We added a function and extended his game to do a couple of extra things (after I removed his redundant code, and adjusted his formatting.) Again, he was a pleasure to work with, and I am GLAD that we were partnered for this. Sam was of great help during the coding exercise, gently nudging us along, and making helpful suggestions. I also got totally stuck on the GitHub stuff – still not sure if it was during the forking process, or because of how I stored his repo locally, or maybe because I tried to push to the wrong remote location, or possibly even because we merged at the wrong point somehow. Dale walked me through putting it back in order step-by-step, which was really absolutely invaluable. I can’t stress that enough. GitHub is my nemesis!

*Note to Self! Be more careful when interacting with GitHub! I am positive my issues (gitssues) were due to my own user error. The gituation I got myself into almost took more time to repair than the coding exercise. (The git puns were flying yesterday.)

Still, we finished a bit early, and I was home by 5:30.

Here’s kind of what inspired me to write a blog post “first” thing in the morning (ok, I’d been up since 4, or 45 minutes when I began this) – I came home, “made” dinner (re-heated one thing, while baking another in the oven) did some (not all) of the things I usually do in the evening, and was in bed by 8:30. Remembered that I had not submitted my reading assignment for this morning (SO GLAD I DID THE READING AHEAD OF TIME), got up, did that, and was asleep by 9:30. I was exhausted. I am still kind of exhausted. I slept for 6.5 hours.

But the REAL reason I got inspired is that I was thinking about making lunch (and carrying it, and between that and the time it takes to make, wish that I could afford to just eat from the food truck or Peach every day) and realized that I was having thoughts such as: do I even need to eat lunch? I’m not even hungry for breakfast, which is really unusual. I didn’t eat that much for dinner last night because I wasn’t that hungry (also odd for me) and I think it’s because my brain is just so busy that it’s shutting down some of my other systems. Hunger cues? Waste of time and energy! Forget ’em! It’s only Day 2, and my brain has already just totally re-organized its priorities. What errands? What do you mean the floor needs sweeping? Read? Watch tv? Huh?

My days have already become super fast paced with no time for anything superfluous, and I haven’t even really had much in the way of homework yet, or had to even stay at school until 5 so far. I love it. It’s fantastic. I can’t wait to see how I feel at the end of the week.

Leave a Reply

Your email address will not be published. Required fields are marked *