Blog: Yegor Bugayenko

240 blogs updated: 27 min. ago
On the Layout of Tests
What is the right way to keep test classes in a repository? There is no single canonical approach, but a few principles may help you keep te...
20-01-2023 08:26:55 Yegor Bugayenko Beginners
Smaller Try-Blocks Are Better
It often happens, especially in Java, that a few places in the method are potential exception originators. Usually, we make a large method-s...
08-09-2022 19:35:40 Yegor Bugayenko Beginners
Don't Group Exception Catchers
Sometimes we rethrow exceptions. In Java we do this more often than in other languages, because it has checked exceptions. Sometimes we must...
30-08-2022 17:34:52 Yegor Bugayenko Beginners
Research Paper Simple Template
My first academic paper was accepted and published in 1998. My most recent one was rejected by SPLASH just a week ago. I'm writing two paper...
24-08-2022 16:19:16 Yegor Bugayenko Beginners
Declarative and Immutable Pipeline of Transformations
A few months ago I made a small Java library, which is worth explaining since the design of its classes and interfaces is pretty unusual. It...
11-08-2022 04:51:36 Yegor Bugayenko Beginners
The Code and Its Tests in Different Pull Requests
I suggested this idea a few weeks ago on Twitter and got mostly negative reactions. That's why I wrote this blog post, to elaborate on the s...
04-08-2022 15:54:49 Yegor Bugayenko Beginners
Command Line Default Options in Linearized Plain Text
A few years ago I created xcop, a simple command line tool that can check the style of an XML file. It's similar to Checkstyle (for Java) an...
20-07-2022 20:13:43 Yegor Bugayenko Beginners
Automated Tests Are the Safety Net that Saves You
Automated tests are the ones that are usually called unit tests or integration tests, or just any tests that are being executed automaticall...
05-07-2022 09:05:32 Yegor Bugayenko Beginners
The Principle of One
When I make a slide deck for a new presentation, invent a new domain name, think about a name for a new Java class, itemize bullet points in...
14-06-2022 19:40:56 Yegor Bugayenko Beginners
Reflection Means Hidden Coupling
Reflective programming (or reflection) happens when your code changes itself on the fly. For example, a method of a class, when we call it, ...
05-06-2022 05:24:39 Yegor Bugayenko Beginners

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.

Made better & faster using Java Profiler