AntiPattern
Fragile Assumptions Across Runtimes
runtime-model-assumption-mismatch
Console/stdout redirection, stream/event APIs, UI projection, non-blocking persistence, and Swing layout behavior all break when code assumes a single runtime model (Node vs browser, layout vs null, visible projection vs hidden).