Refactoring for Novices in Java: An Eye Tracking Study on the Extract vs. Inline Methods
An eye-tracking study involving Java novices reveals that while method extraction can significantly improve performance and reduce visual effort for complex tasks, it often hinders comprehension and increases cognitive load for simple tasks, suggesting that educators should be cautious about promoting premature modularization for beginners.