Code Ownership: A Personal Experience

Petr Plavjaník
8 min readDec 1, 2023

I joined a team that adopted a unique approach to code management, every segment of the codebase had a designated owner who alone was responsible for any changes to it. Initially, this seemed ideal — I only had to focus on my own code, a pristine, well-crafted section, free from the complexities of deciphering my colleagues’ coding styles. In this bubble, my code was impeccable to me, but as impenetrable to others as theirs was to me. This mutual non-intrusion meant that no one delved into or critiqued my code.

My tenure was marked by significant contributions and developments, which I found gratifying. However, a turning point came when I returned from paternity leave. I was met with a backlog of critical customer requests that had been neglected for weeks. The team, it seemed, had been preoccupied with less urgent tasks but related to their code. Worse, some of their work was futile without modifications to ‘my’ code section, yet they felt their responsibilities were adequately fulfilled.

This experience contrasted starkly with my previous roles, where collective responsibility and prioritization of customer needs were paramount. We were driven by a commitment to collective success and customer satisfaction. This new environment, however, fostered a myopic focus on individual code segments over team success.

This leads me to ponder other models of code ownership. What are their advantages and disadvantages?”

--

--

Petr Plavjaník

Petr’s main areas of expertise are mainframes and automation, and using modern development tools and languages such as Java, Python, and Node.js on z/OS.