as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
list 5 java programming best practices.
user
1. follow coding conventions: make sure that the code is easy for humans to read and understand. 
2. write efficient code: minimize the redundant and inefficient code. 
3. use object oriented programming principles: take advantage of abstraction and inheritance to write better code. 
4. avoid using too many global variables: use variables at the minimum required scope for better performance. 
5. document your work: this helps other programmers to understand your code more easily.
assistant