Skip to main content

Your Conscience (Part-2) and Test-Driven-Development

... contd. from Part -1: Your Conscience is Your Compiler

Friend: Ok, got it. I used to think these are instincts.

Me: Well, you can hack it, i.e. ignore your conscience, but then you're corrupting your "code" and it affects your "program" behavior. And soon, you can't fix it anymore.

It's gone, unless you do major "refactoring".
Or a complete rewrite- which for humans is death and rebirth... and what does anyone know about death and beyond anyway?

In this life, you can only do refactoring, there's no rewrite.

Friend: Nice analogy. TDD!

Me: Well, TDD- Test-driven development is to ensure you are always following your conscience...But at the same time, allowing yourself the oppportunity to learn and the privilege to change your mind some day as you mature. TDD lets you easily incorporate lessons you learn as you grow and mature. It helps you change more easily than would be otherwise possible for you. It helps you easily figure out what went wrong- and how to fix it! And in fact, it would be so obvious and simple that even someone who doesn't know you much can help pinpoint it to you. I can go to a stranger and discuss some of these issues... and they'll say a thing or two that'll tell me immediately what I was thinking or doing wrong. It helps me change myself with objective criteria.

Friend: yeah

Me: TDD, my friend, is the best thing that happened to software since software was created...

Test-driven-development is turning the software "animal" into a software "human"!

TDD is the conscience of Software!


[Originally posted on my personal blog at muralikd.blogspot.com, September 27, 2010]

Comments

Popular posts from this blog

1876 Redestruction: Supreme Court puts the final nail in the coffin of Reconstruction

  From the winner of 2019 Pulitzer Prize:  Frederick Douglass, Prophet of Freedom  by David W. Blight As the election neared in 1876, all knew the last vestiges of Reconstruction policies and regimes were at stake in the remaining "unredeemed" Southern states. In 1876 the project of Reconstruction, and perhaps the United States itself, were like a huge battleship slowly turning around as it lost power; once turning, it could hardly be stopped, even if the same group of officers remained at the helm.  That year the Supreme Court weakened the Reconstruction-era constitutional amendments by emasculating the enforcement clause of the Fourteenth Amendment and revealing deficiencies in the Fifteenth Amendment.  In US v. Cruikshank, based on prosecutions for the horrible Colfax massacre of  1873, the Court overruled the conviction of Louisiana whites who had attacked a political meeting of blacks and conspired to deprive them of their rights.  The justices ru...

BP and US Government Regulators were Accomplices

The following are excerpts from  a news story that details a laundry list of facts  that show BP and US Government Regulators acting as accomplices in a series of safety violations that combined to reach a tipping point, leading to the worst oil spill in history and a thoroughly incompetent response to it: [Originally posted on my personal blog at muralikd.blogspot.com, June 06, 2010]

150+ years later, a look back at the aftermath of the Civil War (which took place 78 years after the US Constitution was written)

{ The Fourteenth and Fifteenth Amendments crumbled to dust in the face of armed white resistance, intimidation and terror perpetrated against blacks in elections in various Southern states. In August 1874, resurgent Democrats in Alabama used an array of coercion, targeted assassination, and in one instance in Eufaula in Barbour County, the murder of seven blacks and the wounding of some seventy more on Election Day to defeat an already divided Republican interracial coalition. In Mobile, blacks were driven from polls by white mobs, and in other places ballot boxes were burned. In September 1874 in New Orleans, in the "Battle of Liberty Place," a throng of thirty-five hundred "White Leaguers," composed largely of Confederate veterans, drove black militiamen and Metropolitan Police away from official buildings and took over city hall, the statehouse, and an arsenal. Mississippi produced the worst violence of all. Municipal and county elections in and around Vicksburg...