1515h: Started
Notes review
Questions:
- Can you think of a practical example of why you'd want to use function overloading?
- Discussed good examples and bad examples:
Situation:
There's an elevator. There is a button labeled 🙉. You look at the manual to see what this button does, because you don't know.
Bad example:
The elevator manual says:
[Chapter 3: buttons] [Section 3.1: monkey buttons] [Section 3.1.3: 🙉 button]
Description:
The 🙉 button controls the 🙉 feature.
Usage example:
-
When you want 🙉, press the 🙉 button.
-
If you do not want 🙉, press the 🙉 button.
Good example:
The elevator manual says:
[Chapter 3: buttons]
This section describes the buttons located on the interior service compartment of the elevator.
[Section 3.1: monkey buttons]
This section describes the buttons related to the monkey feature, which is only used during elevator testing. Do not use these buttons for regular passengers, because it will upset them.
[Section 3.1.3: 🙉 button]
Description:
The 🙉 button will immediately dump 100 monkeys into the elevator. This should only be used for testing by the fire department, to ensure the elevator is monkey-proof.
Usage example:
- Shut down the elevator and place it in service mode.
- Make sure the fire department has authorized a monkey test.
- Press the 🙉 button.
- Run away.
- Let the fire department deal with it.
-
Max reports he's using MS word to capture his notes, then he's pasting into VSC to commit it to the repository. I advised him to consider using VSC directly, and naming his files as .txt files so VSC knows what to do with them. I also mentioned markdown and how to open the live preview pane to the right.
-
Mentioned that the reverse comparison methods exist because of one of the fundamental concepts in OOP: you don't get to choose the other objects you'll be working with.
-
Max needs to re-remember what a "salt" is.
-
We looked at the RTF extension, I mentioned that starring repos on GitHub is an important part of being part of the Open Source ecosystem, I mentioned that I'd prefer that Scott use markdown as well, because there doesn't seem to be a good tool for working with RTF files in VSC.
1815h: Ended