top of page
Maine(Coding), LLC
All Posts


Repository: The Librarian
Repository: The Librarian
The Maines
Feb 22, 20251 min read


Strategy: The Toolbox
Strategy: The Toolbox
The Maines
Feb 22, 20251 min read


Prototype: The Clone Wars
Prototype: The Clone Wars
The Maines
Feb 22, 20251 min read


Adapter: Round Pegs in Square Holes
Adapter: Round Pegs in Square Holes
The Maines
Feb 22, 20251 min read


Command: Control Yourself
Command: Control Yourself
The Maines
Feb 22, 20251 min read
Proxy: The Gatekeeper
Introduction The Proxy pattern acts as a surrogate or placeholder for another object, controlling access while adding extra functionality...
The Maines
Feb 22, 20251 min read


Observer: Notifications Keeping Systems in Sync
Observer: Notifications Keeping Systems in Sync
The Maines
Feb 22, 20251 min read


Builder: The Assembly Line for Custom Object Creation
Builder: The Assembly Line for Custom Object Creation
The Maines
Feb 22, 20251 min read


Factory: The Blueprint for Scalable Object Creation
Factory: The Blueprint for Scalable Object Creation
The Maines
Feb 22, 20251 min read


Singleton: The Architect Overseeing Your Software’s State
Singleton: The Architect Overseeing Your Software’s Core State
The Maines
Feb 22, 20251 min read


Mastering Design Patterns: Build Smarter, Scalable, and Stronger Software
Mastering Design Patterns: Build Smarter, Scalable, and Stronger Software
The Maines
Feb 22, 20251 min read


Engineering better switch statements - Strategy design pattern
TL;DR; Use the strategy design pattern instead of a switch statement when you don't have a small set of cases. I'll link over a YouTube...
The Maines
Dec 27, 20215 min read


Engineering clean environments
Before we dive much further, I want to talk about keeping your work area clean. Nearly every post I see regarding installing a...
The Maines
Dec 19, 20213 min read
Engineering decisions
Decisions are a key feature of logic. Making those decisions easy for a human to understand is of paramount importance when it comes to...
The Maines
Dec 19, 20213 min read
How to engineer good function names
Continuing on our journey for clean and self-documenting code, we are now turning the focus to function names. We just talked about...
The Maines
Dec 18, 20213 min read
How to engineer good variable names
Let’s look at some techniques that will help make your code more readable, maintainable and ensure you don’t look back at it in 3 to 6...
The Maines
Dec 17, 20214 min read
Hello World!
As this is the first blog post, and it’s the traditional method of introducing newcomers to any programming language, I thought that...
The Maines
Dec 15, 20212 min read
bottom of page