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


213 blogs updated: 26 min. ago
When Subclasses Are Ready To Die
I don't like to inherit implementation (create subclasses).1 When refactoring class hierarchies, I often pull behavior up into superclasses,...
28
10-05-2017 20:49:48 the code whispere ... (J. B. Rainsberger) Agile & Testing
Taking a Pragmatic View of Isolated Tests
I've been teaching programmers about the value of isolated tests for a long time, and recently I've seen increasing resistance to the idea. ...
12
17-03-2017 21:22:59 the code whispere ... (J. B. Rainsberger) Agile & Testing
Deploying Jekyll to Heroku using GitLab CI
Following is not only a tutorial, but also an example of the notes that I take when I figure out how to do something. In here you'll find Le...
12
14-02-2017 01:10:20 the code whispere ... (J. B. Rainsberger) Agile & Testing
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...
39
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


© 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.