en
Books
Dusty Phillips

Python 3 Object Oriented Programming

  • b7614471096idézett4 évvel ezelőtt
    A Python programmer often starts by storing data in a few variables. As our program expands, we will later find that we are passing the same set of related variables to different functions. This is the time to think about grouping both variables and functions into a class.
  • Ивайло Ламбревidézett5 évvel ezelőtt
    Aggregation is almost exactly like composition. The difference is that aggregate objects can exist independently.
  • Ивайло Ламбревidézett5 évvel ezelőtt
    of a board and thirty-two pieces. The board is further comprised of sixty-four positions.
  • Ивайло Ламбревidézett5 évvel ezelőtt
    This is an object diagram, also called an instance diagram
  • Ивайло Ламбревidézett5 évvel ezelőtt
    composition and inheritance.
  • Ивайло Ламбревidézett5 évvel ezelőtt
    When analyzing a system, objects typically represent nouns in the original problem, while methods are normally verbs
  • Ивайло Ламбревidézett5 évvel ezelőtt
    abstraction is the process of encapsulating information with separate public and private interfaces.
  • Ивайло Ламбревidézett5 évvel ezelőtt
    abstraction means dealing with the level of detail that is most appropriate to a given task. It is the process of extracting a public interface from the inner details
  • Ивайло Ламбревidézett5 évvel ezelőtt
    This process of hiding the implementation, or functional details, of an object is suitably called information hiding. It is also sometimes referred to as encapsulation, but encapsulation is actually a more all-encompassing term
  • Ивайло Ламбревidézett5 évvel ezelőtt
    Our interface to the television is the remote control.
fb2epub
Húzza és ejtse ide a fájljait (egyszerre maximum 5-öt)