Riemann Integration and Anti-Patterns