AntiPattern

Null Semantics Drift

null-semantics-drift

Nullable values get silently produced or propagated through API boundaries (e.g., Optional.orElse(null) or unchecked string emptiness), then break downstream logic or static analysis expectations, risking runtime exceptions and inconsistent handling.