Slashdot Mirror


How to Keep Your Code From Destroying You

An anonymous reader writes "IBM DeveloperWorks has a few quick tips on how to write maintainable code that won't leech your most valuable resource — time. These six tips on how to write maintainable code are guaranteed to save you time and frustration: one minute spent writing comments can save you an hour of anguish. Bad code gets written all the time. But it doesn't have to be that way. Its time to ask yourself if its time for you to convert to the clean code religion."

3 of 486 comments (clear)

  1. fp by Anonymous Coward · · Score: -1, Offtopic

    /.ers are gay as usual.

    the self proclaimed clerisy.

    eadad (if you remember that acronym)

    still trollin 4 profits.

    someone bite. :`(

  2. Goatse! by Anonymous Coward · · Score: -1, Offtopic
  3. Hey, kids! Test your Wikipedia street smarts! by Anonymous Coward · · Score: -1, Offtopic

    Which of the three passages below is the authentic excerpt from Wikipedia?

    1. Conan Christopher O'Brien, 44, is the comedian and the host of The Tonight Show With Jay Leno. He is Scottish, as were his parents, as well as his three brothers and two siblings. He has no relation to CNN anchor Soledad O'Brien.

      O'Brien, who is 43, is commonly thought by television audiences to be of diminutive stature, though some journalists and alternative biographers dispute this claim.

      As of 2007, O'Brien has been confirmed dead of tuberculosis. His hair color was red. He was 45.

    2. {This page is currently protected from editing until disputes have been resolved.}

      [Image:KarlMarx.jpg]
      United States President Abraham Lincoln was President of the United States during the Revolutionary War, and a well-known Libertarian.[1] Though some historians see Objectivist tendencies in his greatness.[2][3] Many of his most generous qualities can be traced back to the philosophy of Ayn Rand.[4]

      Lincoln is now known to have suffered a mild form of Autism known as Asperger's Syndrome.[5][6][7]

      Assassinated at 54 by a vandal known as Jon Harvey Booth,[8] or some say by political crony Edwin Stanton, Lincoln would have been 187 years old today (as of 2005)[original research?] had he not been assassinated in the prime of his life at the age of 45 by unemployed actor Juliette Lewis Botch.[9]

    3. The Pokédex (Pokemon Zukan[?], lit. "Pokémon Encyclopedia") is an electronic device designed to catalogue and provide information regarding the various species of Pokémon featured in the Pokémon video game and anime series. The name Pokédex is a neologism including Pokémon (which itself is a portmanteau of pocket and monster) and index. The Japanese name is simply "Pokémon Encyclopedia" in Japanese.

      In the video games, whenever a Pokémon is first captured, its data will be added to a player's Pokédex. In the anime the Pokédex is a comprehensive electronic reference encyclopedia, usually referred to in order to deliver exposition. There are four differently numbered Pokédex modes to date: the Kanto Pokedex, introduced in Pokémon Red and Blue; the Johto Pokédex, introduced in Pokémon Gold and Silver; the Hoenn Pokédex, introduced in Pokémon Ruby and Sapphire and expanded upon in Pokémon FireRed and LeafGreen; and the Sinnoh Pokédex, introduced in Pokémon Diamond and Pearl.