GoConqr has a new look! Let us know what you think.

Flashcards

Untitled

Pedro Braga TI Profissionalizante Portuguese 6 cards

Cards in this deck (6)

  1. 1What are design Patterns?Design patterns are reusable solutions to common problems that arise during software design and development. They represent best practices for solving certain types of problems and help designers and developers create flexible, efficient, and maintainable software systems. Design patterns are not complete designs or templates, but rather guidelines for solving specific problems in a particular context.
  2. 2What are the Charactheristics of a design patternReusability: Design patterns provide proven solutions to recurring design problems. Once a pattern has been defined and used, it can be adapted to fit new situations.
    Flexibility: Design patterns are general and can be adapted to various contexts. They are not rigid templates but rather guidelines for solving specific types of problems.
    Maintainability: By using design patterns, developers can create code that is more modular and easier to maintain. Changes to one part of the system are less likely to affect other parts.
    Expressiveness: Design patterns can improve the expressiveness of code by making it clearer and more understandable. They provide a common vocabulary for developers to communicate about the structure of their softwa
  3. 3How many types of design Patterns exists3
    Creational Patterns
    Structural Patterns
    Behavioral Patterns
  4. 4What are the Creational PatternsSingleton Pattern
    Factory Method Pattern
    Abstract Factory Pattern
    Builder Pattern
    Prototype Pattern
  5. 5Explain me the singleton PatternsThe Singleton Pattern ensures a class has only one instance and provides a global point of access to it, useful for scenarios requiring a single point of control or coordination across the system. It involves a private constructor, a static method for instance access, and a static variable to hold the single instance.
  6. 6Explain me about the Factory Method PatternThe Factory Method Pattern defines an interface for creating an object, but lets subclasses alter the type of objects that will be created. It provides a way to delegate the instantiation logic to subclasses, allowing flexibility in object creation.

Information

Description
Profissionalizante TI Flashcards on Untitled, created by Pedro Braga on 04/01/2024.
Created by
Pedro Braga
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?