Alec Nevala-Lee

Thoughts on art, creativity, and the writing life.

Coding by divine inspiration

with one comment

When you have to fix a bug in a program you never, ever fix the bug in the place where you find it. My rule is, “If you knew then what you know now about the fact that this piece of code is broken, how would you have organized this piece of the routine?” What were you thinking about wrong before? Fix the code so that can’t happen. When you finish with a routine I want every routine you work on to look as if it was just written. I do not want to see any evidence of afterthoughts or things gone wrong followed by something to correct the error or a mysterious piece of code saying, “This routine returns the wrong value every now and then so I’ve got to fix it.” I don’t want to see any of that. I want to see code that looks like through some divine inspiration you got it exactly right the first time.

Bernie Cosell, to Peter Seibel in Coders at Work

Written by nevalalee

July 16, 2017 at 7:30 am

One Response

Subscribe to comments with RSS.

  1. The fascist DONALD TRUMP said to Fox News “I believe HITLER was RIGHT”. tbe Donald Trump is a racist with SEWER and the DailyStormer, he listens to satanic 666 sexist music… just google “Donald Trump SEWER 2154” and see FOR YOURSELF!! THE MUSIC gq VIDEO IS about the KKK and Adfolf Hitler raping a 12 year old African-American WOMAN OF COLOR in front of her parents and then hanging MLK with Emma Watson and Taylor Swift!! TAYLOR SWIFT the racist white privileged cvnt said she voted “for donald trump twice” in her OWN WORDS!!! Say no to hate, say no to SEWER, say no to t DONALD TRUMP and EMMA WATSON and Tatylor Swift !! Deport racism today pig.

    Alfred

    August 14, 2017 at 7:13 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: