Brent Knigge
  • Home
  • About
  • contact
  • pages
    Notes Portfolio Recipes Products
  • Home
  •   /  Tags
  •   /  OOP
  • 1
  • 2
  • Next ›

Creating your own classes

Learn how to write your own classes in Python

Functionoids

This short 2 page article was a topic spun off from my DateTime Object series and discusses the little known parenthesis operator.

Properties

Learn how to create Properties

Adapter Design Pattern

Demonstrates techniques of how to adapt the interface of one class to match the interface of another so that disparate systems can opearate with a common interface

An Introduction to Design Patterns, part I

In this 5 page article I introduce the reader to UML class diagrams and the custom designed TFileObject class and its descendants that will be used my 'pattern' articles

An Introduction to Design Patterns, part II

In this article I extended the TFileObject class into 2 subclasses; TVCLStringList and TSTLStringList. I talk about exceptions and consistency in behaviour across the sibling classes

Bridge Pattern

A somewhat complicated design that allows the developer to separate the interface from the implementation and allow the two to vary independently.

Decorator Design Pattern

I consolidate the information provided in my 2 introductory articles on design patterns and present the reader with a discussion on the decorator design pattern

Factory Method Design Pattern

Demonstrates techniques of how to adapt the interface of one class to match the interface of another so that disparate systems can opearate with a common interface

Strategy Pattern

The purpose of the Strategy design pattern is to encapsulate a family of related algorithms that perform the same task, and make them interchangeable.

Inheritance

Learn about inheritance

A DateTime Object in C++, Part I

This multi-part series was split across 3 issues and covers many aspects of C++ class design including operator overloading and Friend functions.

© Brent Knigge 2023