Naming Conventions: Camel Case vs Pascal Case vs Snake Case vs Kebab Case
Compare camel case, Pascal case, snake case and kebab case with examples. Learn which styles suit Java, Python, URLs, CSS and constant names.
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.
Compare camel case, Pascal case, snake case and kebab case with examples. Learn which styles suit Java, Python, URLs, CSS and constant names.
Choose Java, Spring, SQL, coding and best-practice interview guides for your role, then practice explaining answers with examples and project decisions.
Learn the open-closed principle with a Java report writer example. Add a report format through an interface and understand what still needs to change.
Understand the single responsibility principle with a Java example. Separate employee storage from email delivery and see where workflow coordination belongs.
Understand fast, independent, repeatable, self-validating and timely unit tests. Follow a Java example that controls time to check a subscription boundary.
Improve Java performance with a measurable goal, realistic baseline and focused investigation. Find bottlenecks and compare changes without guessing.
Test Java repositories with an isolated database. Check query boundaries and returned records, choose the right database and keep tests independent.
Spot eight common unit testing mistakes, including weak assertions, hidden exceptions and shared state. See focused Java examples and practical fixes.
Learn the five SOLID principles with Java examples and diagrams. Understand responsibilities, extension, substitution, interfaces and dependency direction.
Handle Java exceptions clearly. Preserve causes, close resources, choose useful catch blocks, retry safely and respect interruption with practical examples.
Write useful Java unit tests with JUnit. Learn clear assertions, boundary cases, independent setup, test doubles, exception checks and coverage limits.
HowToDoInJava provides tutorials and how-to guides on Java and related technologies.
It also shares the best practices, algorithms & solutions and frequently asked interview questions.