Godot 4.x SOLID design, typed signals, command objects, undo/redo, and object pooling. Use when refactoring tightly coupled GDScript, splitting monolithic scene behavior, replacing polling with signals, representing actions for queues or history, or reducing measured spawn/free churn.