Decorator

A house painter and decorator is a tradesman responsible for the painting and decorating of buildings, and is also known as a decorator or house painter.

The purpose of painting is to improve the appearance of a building and to protect it from damage by water, corrosion, insects and mold.

Interior design is the art and science of enhancing the interior of a building to achieve a healthier and more aesthetically pleasing environment for the people using the space. An interior designer is someone who plans, researches, coordinates, and manages such enhancement projects.

Interior design is a multifaceted profession that includes conceptual development, space planning, site inspections, programming, research, communicating with the stakeholders of a project, construction management, and execution of the design.

In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object, dynamically, without affecting the behavior of other objects from the same class.

The decorator pattern is often useful for adhering to the Single Responsibility Principle, as it allows functionality to be divided between classes with unique areas of concern.

The decorator pattern is structurally nearly identical to the chain of responsibility pattern, the difference being that in a chain of responsibility, exactly one of the classes handles the request, while for the decorator, all classes handle the request.

Source : Wiki

Decorator

house

tradesman responsible

decorating

designer

buildings

known

multifaceted profession

researches

Interior design

other objects

responsibility pattern

house painter

nearly identical

space planning

aesthetically pleasing

decorator pattern

often useful

conceptual development

unique areas

Share this;