Skip to main content
Engineering LibreTexts

2.10: Chapter Summary

  • Page ID
    37596
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    In this chapter you have seen how to create categories, classes and methods. You have see how to use the system browser, the inspector, the debugger and the Monticello browser.

    • Categories are groups of related classes.
    • A new class is created by sending a message to its superclass.
    • Protocols are groups of related methods.
    • A new method is created or modified by editing its definition in the browser and then accepting the changes.
    • The inspector offers a simple, general-purpose GUI for inspecting and interacting with arbitrary objects.
    • The system browser detects usage of undeclared methods and variables, and offers possible corrections.
    • The initialize method is automatically executed after an object is created in Squeak. You can put any initialization code there.
    • The debugger provides a high-level GUI to inspect and modify the state of a running program.
    • You can share source code filing out a category.
    • A better way to share code is to use Monticello to manage an external repository, for example defined as a SqueakSource project.

    This page titled 2.10: Chapter Summary is shared under a CC BY-SA 3.0 license and was authored, remixed, and/or curated by Andrew P. Black, Stéphane Ducasse, Oscar Nierstrasz, Damien Pollet via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.