PinnedPublished inJavarevisitedWhat’s new in JUnit 6: Key Changes and ImprovementsJUnit 6 is here, eight years after JUnit 5 was released. This isn’t just an incremental update; it’s a significant modernization leap.Oct 1, 2025Oct 1, 2025
PinnedPublished inJavarevisitedOracle Java Certification: do you need it?Is it worth investing your money and effort to earn the title of “Oracle Certified Professional Java SE Developer”?Sep 30, 2024Sep 30, 2024
PinnedPublished inJavarevisitedLazy vs Eager Singleton in JavaWhy Eager Singleton should be preferred in most casesJul 9, 2023Jul 9, 2023
I believe there’s a difference between making premature optimizations and designing code with…Jan 6, 2025Jan 6, 2025
These are good techniques but always keep in mind one thing:«Premature optimization is the root of all evil»Oct 16, 2024A response icon1Oct 16, 2024A response icon1
I'd add a modern (Java 14+) approach for declaring an immutable class:public record Point(int x, int y) {Oct 15, 2024Oct 15, 2024
One of the biggest mistakes I've seen is nitpicking too much, it doesn't really improve the code…Oct 13, 2024A response icon1Oct 13, 2024A response icon1
It’s interesting how unordered() changes the behavior of other operations: for example, skip() and…Oct 13, 2024Oct 13, 2024
One of the best things about this approach is that you can add or remove conditions at runtime…Also, if you don’t need such flexibility and use Java 14+ then “switch with arrow” may be the best:Oct 7, 2024Oct 7, 2024