Non-FictionInformativeEducational

Software Specialist eBook

A Coursebook on Software Specialist

by Hagen Sherill

  • English
  • 145 pages
  • 2026
  • SamEnrico

A Coursebook on Software Specialist

Formats

Free sample

Chapter 1: The Broken Window...–- On August 1, 2012, a software deployment destroyed a forty-six-year-old financial firm in forty-five minutes. Knight Capital, a legitimate pillar of Wall Street trading, processed $460 million in erroneous trades before anyone could pull the plug. The company did not collapse because of a malicious hacker, a natural disaster, or even particularly bad management. It collapsed because a single software module—code that had worked perfectly for years—was reused in a context where it no longer belonged. The module did exactly what it was designed to do.

That was the problem. The program executed trades, millions of them, at blinding speed. But the context had changed. The assumptions baked into the code no longer held. And no one, not the developers, not the testers, not the operations team, had asked the fundamental question: Is our knowledge still valid here?This chapter is not about Knight Capital.

Not really. Knight Capital is merely a tombstone marking the grave of a much larger problem. The problem is this: software does not fail because developers are stupid, lazy, or malicious. Software fails because knowledge decays, dependencies multiply, and small cracks become catastrophic fractures. The most expensive software failures in history—the Ariane 5 explosion in 1996, the Therac-25 radiation overdoses in the 1980s, the Healthcare.gov launch disaster in 2013—all share a single root cause.

Somewhere, in some module, a piece of knowledge was repeated. Or a component was not truly independent. Or a decision was treated as permanent when it should have been reversible. Or a small broken window—a tiny bit of technical debt—was left unrepaired until the entire building collapsed.Welcome to the pragmatic philosophy. This is not a chapter about code.

It is a chapter about how to think. Before you write a single line of software, before you design a database schema, before you choose a programming language or a cloud provider or a project management methodology, you must adopt a mindset. The Software Specialist does not see themselves as a "coder," "programmer," or even "engineer" in the narrow sense. The Software Specialist is a pragmatic problem solver. Their job is not to write beautiful code.

Their job is not to follow the latest trends. Their job is to deliver working, maintainable, adaptable software that solves real problems for real humans. And to do that, they need four intellectual tools: DRY, Orthogonality, Reversibility, and the Broken Window Theory.Let us begin.The First Principle: DRY (Don't Repeat Yourself)Every piece of knowledge in a software system must have a single, unambiguous, authoritative representation. This is DRY. It sounds simple.

It is not.Consider a mundane example. Your application calculates sales tax. The tax rate is 8.5 percent. You write this value in three places: a front-end Java Script function that displays estimated tax to the user, a back-end Python function that calculates the final tax on the server, and a database stored procedure that generates tax reports. Now the tax rate changes to 8.75 percent.

How many places must you update? Three. How many will you actually update? Perhaps two. Perhaps one.

Perhaps you will update all three but make a typo in one. This is not a tax problem. This is a knowledge representation problem. The knowledge—"the tax rate is 8.5 percent"—exists in three places. It should exist in one place.

A configuration file. An environment variable. A database table. Anything, as long as it is singular and authoritative.But DRY goes far beyond configuration values. DRY applies to business rules, validation logic, data schemas, documentation, and even team processes.

If your onboarding document tells new hires one thing and your wiki tells them another, you have violated DRY. If your API specification says a field is required but your code allows it to be null, you have violated DRY. If two different functions compute the same discount logic in slightly different ways, you have violated DRY—even if the results are numerically identical. Duplication is not just wasted keystrokes. Duplication is the root of inconsistency, and inconsistency is the root of bugs.The most insidious form of duplication is not copy-pasted code.

It is incidental duplication—knowledge that is repeated because developers did not realize it was the same knowledge. For example, a payment processing system might have a calculate Late Fee() function that uses a 5 percent daily rate. A separate calculate Penalty() function might use the same 5 percent daily rate but express it as 0.05. A third function, apply Interest(), might compute 5 percent but add a fixed dollar amount. These three functions appear to do different things.

But they share the same underlying knowledge: the late fee rate is 5 percent per day. When that rate changes to 6 percent, you must find all three functions. You will miss at least one.The solution is abstraction. Extract the shared knowledge into a single location—a constant, a configuration value, a function, or a service. Then reference that single location everywhere.

The first time you hesitate and think, "But this is only a few lines of code," remember Knight Capital. A reused module. A missing reinitialization. Four hundred sixty million dollars. DRY is not about aesthetics.

DRY is about survival.The Second Principle: Orthogonality Orthogonality is borrowed from geometry. In a Cartesian coordinate system, moving along the X-axis does not affect your position on the Y-axis. The axes are independent. Orthogonal. In software, orthogonality means that changing one component of a system should have no side effects on other, unrelated components.A non-orthogonal system is a house of cards.

You pull one card, and the entire structure trembles. You fix a bug in the payment module, and suddenly the shipping module starts throwing exceptions. You add a field to the user database table, and the reporting dashboard crashes. You upgrade a library from version 1.2 to 1.3, and the login system fails in ways no one can explain. This is not bad luck.

This is the natural consequence of a system where components are tangled together like a plate of spaghetti.Orthogonal systems are the opposite. In an orthogonal system, you can change the database schema, and only the database layer needs to change. The UI remains untouched. You can swap out a caching library, and the business logic never knows the difference. You can refactor a function to be more efficient, and the callers go about their business as if nothing happened.

Orthogonality is not about isolation—systems must communicate. Orthogonality is about minimizing the surface area of that communication. The fewer assumptions Component A makes about Component B, the more orthogonal the system.The classic example of orthogonality failure is the global variable. You declare a variable in the global scope. Now every function in your entire program can read and write that variable.

Changing its value in one function can break any other function that depends on that value. You have created a dependency that spans the entire codebase. This is why global variables are considered harmful. They destroy orthogonality.But orthogonality is not just about global variables. It is about design choices at every level.

A function that both calculates a result and writes it to a file is not orthogonal—it mixes calculation and I/O. A…

This is the end of the free sample. Get the eBook to keep going. Buy now

About this book

A Coursebook on Software Specialist

Details

Author
Hagen Sherill
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Informative, Educational
Released
2026-05-08
Pages (approx.)
145
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Hagen Sherill

See all

You may also like

See all