CS 268: Lecture 13 – JavaScript Objects

Dear students:

There’s a pandemic going on right now, and it has turned the world upside down. We are no longer able to meet in person. But we’ll try to finish out this semester through the web. How apt.

Our format for the rest of this constrained is constrained by a few things. First, we are not all in the same time zone. Second, even if we were in the same time zone, some of you don’t have control over your schedule. You may be caring for family, sharing the internet with others with less flexible schedules, or nursing orphaned lambs on the family farm. Third, not all of us have great internet connections in our bunkers. I am one of those people. Cable doesn’t reach our house, nor DSL. We don’t own a television, so a satellite doesn’t seem worth it. Our only real option is our mobile data plan, but our connection speeds do not really support streaming video. For all of these reasons, synchronous virtual lectures are simply not an option.

Instead I will be sharing pre-recorded videos that you can watch at your convenience. These will be available on YouTube—and perhaps elsewhere. I’ve chosen YouTube because it does a reasonably good job at generating transcriptions of my words, and it allows you to increase the playback speed. However, some of you are in a country where YouTube is blocked. If you are unable to access YouTube, please let me know. I will find an alternative way to share these videos with you.

So, without further ado, here’s your TODO list our first virtual lecture, in which we formally investigate objects in JavaScript:

  • Watch this video introducing objects in JavaScript. Feel free to fiddle with the Playback Speed setting.
  • Watch this video on importing objects via JSON.
  • Watch this video on exporting objects via JSON.
  • Watch this video on some advanced tricks with objects.
  • As an optional knowledge boost, investigate objects further by reading. Consult MDN, The Modern JavaScript Tutorial, chapter 4 of Eloquent JavaScript, or other intellectually stimulating resources.
  • On #general in our Slack workspace, post a reply in the lecture 13 thread with one of the following:
    • A question regarding objects or JSON. This might be a question you really don’t know the answer to or one that you do know the answer to and are putting forward as a challenge to your peers.
    • An answer to a previously posted question or challenge.
    Your participation in this thread is not graded.

When the semester officially resumes next week, I’ll shared a revised grading scale. Project 1 will be due April 12.

See you next time.

Sincerely,

Comments

Leave a Reply

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