Blog: the code whisperer (J. B. Rainsberger)


199 blogs updated: 35 min. ago
No More Boilerplate Code
The name template method is a perfect example of a structural name: it describes the implementation rather than the meaning or purpose. This...
38
09-10-2016 15:21:14 the code whispere ... (J. B. Rainsberger) Agile & Testing
Tests Don't Have Special Permission to Repeat Themselves
Many programmers believe that tests have special permission to repeat themselves, arguing that this repetition makes those tests "simpler" o...
6
07-06-2016 17:57:20 the code whispere ... (J. B. Rainsberger) Agile & Testing
How Not To Write Golden Master Tests
I recently encountered a code base in which someone had applied the Golden Master technique, but done so in a way I find risky, so I wanted ...
26
01-03-2016 18:56:38 the code whispere ... (J. B. Rainsberger) Agile & Testing
Beyond Mock Objects
At some point, you know I had to write this article. Let me state something clearly from the beginning: in spite of the title, I use mocks f...
17
11-02-2016 05:39:56 the code whispere ... (J. B. Rainsberger) Agile & Testing
A Tiny Cohesion Risk
Today I'd like to share an example of a tiny cohesion risk. I leave it to you to evaluate the severity of the risk and the appropriateness o...
22
10-02-2016 22:35:01 the code whispere ... (J. B. Rainsberger) Agile & Testing
Injecting Dependencies, Partially Applying Functions, and It Really Doesn't Matter
You might have noticed dependency injection gaining popularity in recent years. You might also have noticed some notable figures (I'm thinki...
6
10-02-2016 16:31:51 the code whispere ... (J. B. Rainsberger) Agile & Testing
Relative Include Paths and the Slow, Certain March Towards Legacy Code
When you use relative include paths in your code, you bind each source code file to its current location in the project's file layout. You r...
6
10-02-2016 09:26:34 the code whispere ... (J. B. Rainsberger) Agile & Testing
How a Smell in the Tests Points to a Risk in the Design
In "What Is Functional Programming?" I spotted a nice example of how duplication in tests leads to a suggestion to improve the design. Let's...
3
10-02-2016 02:23:42 the code whispere ... (J. B. Rainsberger) Agile & Testing
How Reuse Happens
If you want reuse, you have to make it happen. Fortunately, you don't need to be psychic; it's enough to start by removing duplication, whic...
3
09-02-2016 19:20:07 the code whispere ... (J. B. Rainsberger) Agile & Testing
How Reuse Happens
If you want reuse, you have to make it happen. Fortunately, you don't need to be psychic; it's enough to start by removing duplication, whic...
18
04-02-2016 17:30:54 the code whispere ... (J. B. Rainsberger) Agile & Testing

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

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