Skip to content

Instantly share code, notes, and snippets.

View wgcv's full-sized avatar

W. Gustavo Cevallos wgcv

View GitHub Profile
@wgcv
wgcv / bridge.py
Created February 18, 2016 19:44 — forked from pazdera/bridge.py
Example of `bridge' design pattern in Python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Example of `bridge' design pattern
# This code is part of http://wp.me/p1Fz60-8y
# Copyright (C) 2011 Radek Pazdera
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or