Open post
Programming By Stealth Logo

How almost everything in JavaScript is an Object – by Will aka @beiju

The following explanation is from an old friend of the show, Will (also known as @beiju). Unbeknownst to us, he’s been following along with Programming By Stealth all this time and just popped his head up for the first time in quite a few years.

Will wrote the following in an email to Bart and me:

In recent episodes Allison has been audibly frustrated about objects. I noticed a disconnect in Allison’s understanding of objects that I think is causing all of this. I wrote up a short explanation (at least, it was short when I started) that I think will close the gap. I attached it as an HTML document, complete with imperfect syntax highlighting and tiny font to make you feel at home. It’s written in a conversational style talking directly to Allison. I start with restating things that I think you (Allison) are already comfortable with and take a series of small steps, each with some code examples that you can use to prove that I’m telling the truth, until I arrive at the link that Allison’s missing.

I liked it enough I wanted to make sure it was shared with the entire Programming By Stealth family. So here is Will’s fantastic explanation of objects.

Continue reading “How almost everything in JavaScript is an Object – by Will aka @beiju”

Open post
Programming By Stealth Logo

CCATP #522 – Bart Busschots on PBS 49B of X – Object Revision & Improving Our Cellular Automata

As promised last week, Bart Busschots brings us the second half of Programming By Stealth 49. We start by going through a lot of revision on JavaScript objects. It’s really great to have all of this all in one place, and I got to ask a few questions that have been bugging me for a long time. I understood every bit of this and really enjoyed it, but I’m not going to lie, his little 6-part test after the revision baffled me a bit. But after we slog through that part, Bart gets us back on track improving our Cellular Automata. I never realized that we didn’t actually define whether our cells are dead or alive!

Bart’s tutorial for this lesson is at bartbusschots.ie/… starting where he inserted the line, “Note: This is the point in the notes where the first podcast episode ends and the second begins.”

mp3 download

CCATP #446 – Programming by Stealth – 18 of x JavaScript Miscellany

In this episode of Programming By Stealth, Bart Busschots takes us through the final stages of learning JavaScript within the playground. Now that we know about objects, we need to re-visit the arguments object present in every JavaScript function. We need to take a detailed look at the typeof operator, and we need to look at some built-in objects and functions JavaScript provides. We also need to look at how JavaScript handles regular expressions, and finally, we need to introduce the concept of exception handling. Bart’s full written tutorial is available at bartbusschots.ie/….


itunes
mp3 download

During this episode we briefly mention a wonderful email from Jill about factorials and more. I wanted to include the full letter in the shownotes here because it contains some wonderful explanations, especially an even better explanation of strongly vs. weakly-typed languages. Here’s Jill’s entire letter:

Hi, me again

I think there’s a concept you haven’t quite grasped in PBS, and that’s types. I know you’ve mostly got it, but I think perhaps I might be able to help unconfuse you on a few edge cases.
Continue reading “CCATP #446 – Programming by Stealth – 18 of x JavaScript Miscellany”

CCATP #444 – Programming by Stealth – 17 of x JavaScript Objects

In this continuing series with Bart Busschots, we get a more detailed look at objects, and then we look at some standard functions and objects that are built into JavaScript. We also take a proper look at two operators we’ve seen before, typeof and instanceof. Bart’s full written tutorial is available at bartbusschots.ie/….


itunes
mp3 download

Scroll to top