<commit_before>---
title: 'Design Patterns: Decorator Pattern'
date: '16:01 03/20/2017'
taxonomy:
    category:
        - blog
    tag:
        - 'Design Patterns'
        - Decorator
---

**S.O.L.I.D** is an acronym for the first five object-oriented design(OOD) principles by <NAME>, popularly known as Uncle Bob.
SOLID represents a series of guidelines that developers can use to, if done well, simplify and clarify their code. 
These principles, when combined together, make it easy for a programmer to develop software that are easy to 
maintain and extend. They also make it easy for developers to avoid code smells, 
easily refactor code, and are also a part of the agile or adaptive software development.
Understanding these concepts will make you a better developer.



<commit_msg>change<commit_after>---
title: 'Design Patterns: Decorator Pattern'
date: '16:01 03/20/2017'
taxonomy:
    category:
        - blog
    tag:
        - 'Design Patterns'
        - Decorator
---

A decorator allows us to dynamically extend the behavior of a particular 
object at runtime, without needing to resort to unnecessary inheritance. 
{'fraction_non_alphanumeric': 0.0715547703180212, 'fraction_numerical': 0.02120141342756184, 'mean_word_length': 3.3244274809160306, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5102748', 'n_tokens_mistral': 336, 'n_tokens_neox': 307, 'n_words': 147}