38 Matching Annotations
  1. Apr 2025
  2. Aug 2023
  3. Feb 2023
    1. Object-oriented Design (OOD) is the process of converting such requirements intoan implementation specification. The designer must name the objects, define thebehaviors, and formally specify what objects can activate specific behaviors onother objects. The design stage is all about how things should be done. The outputof the design stage is an implementation specification. If we were to complete thedesign stage in one step, we would have turned the requirements into a set ofclasses and interfaces that could be implemented in (ideally) any object-orientedprogramming language.

      OOD

    2. Object-oriented Analysis (OOA) is the process of looking at a problem, system,or task that somebody wants to turn into an application and identifying the objectsand interactions between those objects. The analysis stage is all about what needsto be done. The output of the analysis stage is a set of requirements. If we were tocomplete the analysis stage in one step, we would have turned a task, such as, "Ineed a website", into a set of requirements, such as:Visitors to the website need to be able to (italic represents actions, boldrepresents objects):review our historyapply for jobsbrowse, compare, and order our products

      OOA

    Tags

    Annotators

  4. Dec 2022
  5. Nov 2022
  6. Aug 2022
  7. Mar 2022
    1. Users of a SLList never see the IntList class. Simpler to use. More efficient addFirst method (exercise 2.2.1). Avoids errors or malfeasance by IntList users.

      private封装的好处。

  8. Jul 2021
    1. object-orientation offers a more effective way to let asystem make good use of parallelism, with each objectrepresenting its own behavior in the form of a privateprocess

      something, something, Erlang

  9. Oct 2019
    1. This can become messy when you have a lot of configurations in your Entity. Another issue is that your annotations are coupled to your source code. Your database implementations details, or any other configurations are coupled to your domain object. This goes against the guidelines of clean code. Your domain object (Entity) should only have one reason to change.

      Thank you for saying that loud.

  10. Nov 2018
  11. Oct 2018
  12. Sep 2018
  13. Mar 2018
  14. Oct 2017
    1. Python supports the object-oriented programming paradigm

      The main OOP concepts:

      1. an object as a model of a real object
      2. a class as a factory for objects or as a template that defines the structure of objects from this class and behavior of objects from this class
      3. an object as an instance of a class
      4. a method with or without parameters describes the behavior of instances
      5. calling or invoking method
  15. Sep 2016
  16. May 2016
    1. A class can only "implement" an interface. A class only "extends" a class. Likewise, an interface can extend another interface. A class can only extend one other class. A class can implement several interfaces.

      Extends makes it a child, inherit the class' methods and shit. You can override its shit if you want.

      Implements allows you inherit the constants that are declared, and you can define these constants. The way that works is it provides a bunch of empty methods, and you fill in the gaps

  17. Jun 2015
    1. Imperative programming: telling the "machine" how to do something, and as a result what you want to happen will happen. Declarative programming: telling the "machine"1 what you would like to happen, and let the computer figure out how to do it.