Browse this page to find tutorials covering best practices to be followed in regular java development. Follow these tutorials and they will help you to improve your coding skills in big way.
Related Tags
Tutorials
In any programming language, naming conventions are a very important best practice to follow. Different parts of a program are written in specific cases so they can communicate easily their purpose in the source code. This short article lists some popular casings such as camel case, pascal case, snake case, and kebab case along with …
The open-closed principle (OCP) states that a module should be open to extension but closed for modification. It is one of SOLID principles.
The single responsibility principle (SRP) states that a software component (in general, a class) must have one and only one responsibility.
Learn about the FIRST principles for unit testing that can help make our unit tests shine and ensure they pay off more than they cost.
These tips will help you devise and follow a practical and measurable performance optimization plan for a Java application.
When unit testing the DAO / Repository interfaces, it is very important to know what we are testing and what assumptions we are asserting.
Let us identify 8 such warning signs, which will provide us with subtle hints that a particular test/suit should be improved.
Learn SOLID principles in Java with examples. Single Responsibility Principle, Open Closed Principle, Liskov’s Substitution Principle, Interface Segregation Principle, Dependency Inversion Principle.
In this Java exception handling tutorial, learn a few important best practices to write robust application code which is error-free as well.
It is overwhelmingly easy to write bad unit tests that add very little value to a project while astronomically inflating the cost of code changes. This post will go through the JUnit best practices we must consider while writing the test cases. In programming, “Unit testing is a method by …