2 Matching Annotations
  1. May 2026
    1. When social media platforms show users a series of posts, updates, friend suggestions, ads, or anything really, they have to use some method of determining which things to show users. The method of determining what is shown to users is called a recommendation algorithm, which is an algorithm (a series of steps or rules, such as in a computer program) that recommends posts for users to see, people for users to follow, ads for users to view, or reminders for users.

      This is a topic I am qu

  2. Apr 2026
    1. Objects# The other way of saving information that works similarly in Python is through an object. We won’t be creating any in this book, but we will have to get data from some.

      On coming across the "Objects" section, I couldn't help but compare them to dictionaries. Both in a sense map predetermined keys (in the case of an object, fields) to values; however, objects also make functionality available through methods that can modify / report information about the underlying object. Not to mention, objects establish a "template" for creating entities that feels more formal than dictionaries. For instance, if I have two dictionaries that represent users (stored in the variables u1 and u2), without further context, I'd come to the conclusion that they are two dictionaries with identical key-value mapping; however, creating a User class makes it very clear that we are interacting with a "user" entity and rigorously defines what information and behaviors are supported by it.