My Profile Photo

Personal Webpage of David Duggins


Well, I was born on a normal day in July, 1981 and have been creating chaos ever since. Born in North Carolina, but raised in the aftermath of the Soviet Union, Kazakhstan, I have been messing around with computers nearly my entire life. I wrote my first program in assembly when I was 11. In my early teens I ran a BBS connected to Fidonet and started building a website for my band. In 1999 I was introduced to Linux, and it was love at first compile. I started my career in IT in the early 2000's doing IT for a Car Dealership in Charlotte NC. I wrote my first major web app in Cold Fusion (an ecom app) at that time. In 2006 I left Charlotte and moved down to Columbia where starting working as a developer, freelancer and consultant. Currently I am working as a freelance developer and DevOps consultant!!


Factory Design Pattern in Ruby

\n Ok, so here is a return to my absolutly favorite language…ruby. This is a modification of my js Factory Method. It’s a good little bit of code. I decided to make it a bit of useful code. I am waiting for keyboard input. A B and C will create pizzas and Q will end the program

The first part of this code is actually identical to the implementation of a Strategy Method. It is the addition of the case statement that helps turn it into a Factory Method

© 2024 David Duggins. All rights reserved.