Back to Freecodecamp

Dialogue 3: Talking about OOP

curriculum/challenges/english/blocks/learn-how-to-use-basic-programming-vocabulary-in-conversations/662f0ea56ef95d3017740a5c.md

latest3.1 KB
Original Source

--description--

Watch the video to understand the context of the upcoming lessons.

--assignment--

Watch the video

--scene--

json
{
  "setup": {
    "background": "company2-breakroom.png",
    "characters": [
      {
        "character": "Tom",
        "position": { "x": -25, "y": 0, "z": 1 }
      },
      {
        "character": "Sarah",
        "position": { "x": 125, "y": 0, "z": 1 }
      }
    ],
    "audio": {
      "filename": "5.1-3.mp3",
      "startTime": 1
    },
    "alwaysShowDialogue": true
  },
  "commands": [
    {
      "character": "Tom",
      "position": { "x": 25, "y": 0, "z": 1 },
      "startTime": 0
    },
    {
      "character": "Sarah",
      "position": { "x": 70, "y": 0, "z": 1 },
      "startTime": 0.5
    },
    {
      "character": "Tom",
      "startTime": 1,
      "finishTime": 7.28,
      "dialogue": {
        "text": "Hey, Sarah, I was reading about object-oriented programming on the internet. It's a new concept for me.",
        "align": "left"
      }
    },
    {
      "character": "Sarah",
      "startTime": 7.54,
      "finishTime": 12.1,
      "dialogue": {
        "text": "Object-oriented programming is used in many modern languages. How much do you know about it so far?",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 12.7,
      "finishTime": 18.12,
      "dialogue": {
        "text": "Not much, really. I understand that there are classes and methods, but I've never used them in my code.",
        "align": "left"
      }
    },
    {
      "character": "Sarah",
      "startTime": 18.52,
      "finishTime": 22.6,
      "dialogue": {
        "text": "No worries. Object-oriented programming is a fundamental concept in many languages.",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "startTime": 22.98,
      "finishTime": 27.74,
      "dialogue": {
        "text": "It involves classes, which are like blueprints for objects, and inside the classes,",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "startTime": 27.82,
      "finishTime": 31.8,
      "dialogue": {
        "text": "you find the classes' methods, which are actions those objects can perform.",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 32.62,
      "finishTime": 36.72,
      "dialogue": {
        "text": "That helps a lot. Can you recommend a good book for me to learn more about it?",
        "align": "left"
      }
    },
    {
      "character": "Sarah",
      "startTime": 37.22,
      "finishTime": 39.72,
      "dialogue": {
        "text": "Of course. I have a book on OOP's principles.",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "startTime": 40.2,
      "finishTime": 42.90,
      "dialogue": {
        "text": "I'll send you the title. It has helped many people I know.",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "position": { "x": 125, "y": 0, "z": 1 },
      "startTime": 43.40
    },
    {
      "character": "Tom",
      "position": { "x": -25, "y": 0, "z": 1 },
      "startTime": 43.90
    }
  ]
}