Application
208 articles
Clean Architecture in Go: A Practical Implementation Guide
Learn how to implement Clean Architecture in Go with practical code. Covers layer separation, dependency rules, directory structure, and real-world trade-offs.
Redirect with exec Command
Master shell exec command for dynamic file descriptor redirection, input/output control, and terminal manipulation.
Prompt Confirmation When Pushing Directly to Master
How to create a safety net to prevent direct pushes to the master branch in git.
Learning Design Patterns with PHP - State Pattern
Learn the State pattern to switch behavior dynamically by encapsulating state-specific processing in separate classes.
10 Software Laws Learned from Gorillas
Understand key software development laws including Parkinson's, Brooks's, and Conway's Law to improve project management.
Notes on Implementing Hot Reload with Realize in Go
A memo on using Realize for hot reloading in Go applications.
Creating a mysqldump Tool with Go
Build a Go-based mysqldump tool for automated database backups from remote servers using SSH and TOML configuration files.
Learning Design Patterns with PHP - Adapter Pattern
Master the Adapter pattern to change interfaces without modifying original classes using composition and wrappers in PHP.
Learning Design Patterns with PHP - Bridge Pattern
Understand the Bridge pattern to separate functional and implementation extensions using composition in PHP application design.
Learning Design Patterns with PHP - Mediator Pattern
Explore the Mediator pattern to coordinate complex interactions between objects and improve relationship visibility in PHP.
Learning Design Patterns with PHP - Strategy
Implement the Strategy pattern to switch algorithms dynamically, reduce conditionals, and follow OCP in your PHP code.
PHP Interfaces and Type Hinting
Master PHP interfaces and type hinting to separate functionality from implementation and improve code reusability flexibility.
Encountered Path Issues When Installing Bundler with rbenv via anyenv
Fix Bundler /usr/local/bin path issue with rbenv and anyenv by running rbenv exec gem install command.
Basics of Regular Expressions
Master regular expression fundamentals using character classes, anchors, quantifiers, and grouping constructs for pattern matching.
Learning Design Patterns with PHP - Factory, Factory Method, Abstract Factory
Learn Factory, Factory Method, and Abstract Factory patterns to centralize object creation and eliminate conditional branches.
Understanding System Programming with Go
Understanding System Programming with Go
Go Interfaces Explained: How to Write Flexible, Testable Go Code
A practical guide to Go interfaces. Learn implicit implementation, interface composition, using interfaces for dependency injection, and common design pitfalls.
Go Pointers Explained: When to Use Them and Common Pitfalls
Understand Go pointers clearly—when to use pointer receivers vs value receivers, how pointers affect memory and performance, and the most common mistakes to avoid.
Summary of Variable Definitions and Declarations in Golang
Learn Go variable declaration patterns: var syntax, short declarations, type inference, and visibility rules for identifiers.
About Golang Functions - Function Values / Callback Functions / Anonymous Functions
Understand Go functions: function values, callbacks, anonymous functions, and closures with practical implementation patterns.