AntiPattern

Stream Semantics Misuse

assumed-stream-semantics

Stream pipelines fail when code assumes JVM/stream semantics that don’t hold—e.g., “back to stream of A”, relying on unspecified predicate behavior, or expecting access to stack variables—leading to broken logic or nondeterministic results after refactors or runtime changes.