Collection of common mistakes and bad practices in Java programming and how to fix them