PinnedInJavarevisitedbyVladimir D·Oct 1, 2025What’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.
PinnedInJavarevisitedbyVladimir D·Sep 30, 2024Oracle 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”?
PinnedInJavarevisitedbyVladimir D·Jul 9, 2023Lazy vs Eager Singleton in JavaWhy Eager Singleton should be preferred in most cases
Vladimir D·Jan 6, 2025I believe there’s a difference between making premature optimizations and designing code with…
Vladimir D·Oct 16, 2024These are good techniques but always keep in mind one thing:«Premature optimization is the root of all evil»A response icon1A response icon1
Vladimir D·Oct 15, 2024I'd add a modern (Java 14+) approach for declaring an immutable class:public record Point(int x, int y) {
Vladimir D·Oct 13, 2024One of the biggest mistakes I've seen is nitpicking too much, it doesn't really improve the code…A response icon1A response icon1
Vladimir D·Oct 13, 2024It’s interesting how unordered() changes the behavior of other operations: for example, skip() and…
Vladimir D·Oct 7, 2024One 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: