Pairing with Human, or GenAI or both?
There are folks who would go gaga for Pairing with human, and then there are folks that don’t like it. With the onset of GenAI hype, folks started to use GenAI tools like Chat GPT or Copilot as pairing tools. Forward the time to today since GenAI’s public launch, we witness school going kids using it as an everyday tool for learning.
There are pros and cons to both robotic and human pairing, and this post is my my attempt to give a balanced picture of reality for you by way of sharing my experience.
To begin with I shall share two different stories of my pairing experiences with fellow beings:
Unsatisfactory Experience with Human Pairing
Get Codonomics’s stories in your inbox
Join Medium for free to get updates from this writer.
Me: Hey, excuse me. What is that — FactoryGirl? That sounds so wierd. What does it do and why use it?
Dev: Well, it just generates data that mimics real works. Nothing much to it.
Me: In what context it is used and what problems does it really solve?
Dev: Well nothing much. It is just another fancy library that is hot in the community.
Me: Thanks man! (I left the session trying to make sense of what I heard while ruminating for its parallel in Java world so I can appreciate it better.)
The experience didn’t serve much to my expectation. Nevertheless, it did make me get back to my seat and google more about FactoryGirl and learn more about it. The Java/.Net ecosystem didn’t have anything like it back then. If you are curious as to what it is still, then know that it is a test-fixtures library to create fake/mock data conveniently in one goto place for easy maintenance.
Enlightening Experience with Human Pairing
Dev: (coding conditionals) typed something like `if(Objects.isNull(customer)) {..}`
Me: Hey, I wouldn’t use `Objects.isNull()` and instead stick to testing condition like `customer == null`.
Dev: Buddy, this is the new Java 7/8 way.
Me: No. The docs are clear on its usage to use it only as a predicate. (goes on to open up the docs and show it to substantiate the claim)
Dev: Well, I wouldn’t stick to the strictly technical definition. I see == operator as an equivalent of predicate function that takes input to return a Boolean value. Besides, we code for human readability first and in that I prefer English world over logical notation here, for it reduces my cognitive overload.
Me: I agree on the readability part but I’d like to be a purist when it comes to practices.
Dev: Java APIs aren’t perfect and clean. We can pick the good parts and leave behind the bad ones.
Me: Why do you say that? You can’t malign Java that way.
Dev: I see your frustration and can understand where you come from. I love Java for the good parts and let me illustrate a thing or two about its bad parts. What is the opposite of phrase “is present?”
Me: “is empty?”
Dev: Cool. Now what should be the opposite phrase of “is Null?”
Me: “Is not null?”
Dev: There you go. Now take the java.utils.Objects API and tell me what do we have as an opposite for “isNull()” method
Me: Well, it is “nonNull()”.
Dev: Isn’t that weird? Should it not be prefixed with “is” at least making it “isNonNull()” or “isNotNull()” to make our lives easier? (and it goes for a while making for productive conversations both ways)
Such productive conversations is what makes workplace engaging and levels up the product quality in terms of maintenance and reduced bugs in code.
— — —
Continue reading at my blog -> Pairing with Human, or GenAI or both?









