Slashdot Mirror


What Happens To Code From Failed Projects?

Idzuna writes "With the somewhat recent announcement of Tabula Rasa shutting down, I have been thinking about what will happen to the Server/Client code. Does it get used as a guide for other projects? Does it get destroyed? Or does it just sit there on a hard drive somewhere in storage? The same question applies to many other failed creations. I know the likelihood of the code being distributed freely is next to nil, as most companies probably recycle code. If a vulnerability was found in old code, it could be applied to other products that the company has released. But wouldn't it help development of different projects if such a resource was available?"

225 comments

  1. Code Heaven by Gerafix · · Score: 5, Funny

    They go to the little /dev/null in the sky.

    1. Re:Code Heaven by nx6310 · · Score: 4, Funny

      Or it goes to code hell, where it is made Closed Source and sent for Eternal Bug inspection

    2. Re:Code Heaven by squarefish · · Score: 3, Informative

      Actually, I think it gets it's own little piece of silicon heaven

      And why wouldn't it?

      --
      Creationists are a lot like zombies. Slow, but powerful and numerous. And they all want to eat our brains.
    3. Re:Code Heaven by TheSpoom · · Score: 4, Funny

      And here I was thinking that GOTO was a bad thing.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    4. Re:Code Heaven by Anonymous Coward · · Score: 2, Funny

      They get there via bit bucket.

    5. Re:Code Heaven by Ramley · · Score: 1

      ... or does it end up with all of those single missing socks and the occasional lost car keys -- taken, of course, by the car key gnomes.

    6. Re:Code Heaven by Anonymous Coward · · Score: 0

      Do you ever go to make a pork sausage, and find that it's got hairs all over it?

      If you can answer that question, you know what to do with your code

    7. Re:Code Heaven by Valtor · · Score: 2, Funny

      When it is deleted it should return to the source! But sometimes the code chooses to remain...

      Sorry, couldn't help the Matrix analogy ;-)

      --
      "Sockets are the standard networking API, also useful for stopping your eyes from falling onto your cheeks" zeromq.org
    8. Re:Code Heaven by William-Ely · · Score: 2, Funny

      I thought it went to the island of misfit code.

      --
      Mod me down with all of your hatred, and your journey towards the dark side will be complete!
    9. Re:Code Heaven by gfody · · Score: 1

      IF is the new GOTO

      --

      bite my glorious golden ass.
    10. Re:Code Heaven by Anonymous Coward · · Score: 0

      There's no such thing as silicon heaven.

    11. Re:Code Heaven by religious+freak · · Score: 1

      They all mysteriously turn into not 0 or 1, but reach the nirvana of 2 and 3.

      --
      If you can read this... 01110101 01110010 00100000 01100001 00100000 01100111 01100101 01100101 01101011
    12. Re:Code Heaven by Veggiesama · · Score: 1

      IF you think GOTO has been FOR-gotten, THEN you should SWITCH to a new conditional. CASE closed!

    13. Re:Code Heaven by StarfishOne · · Score: 1

      I'm suddenly seeing the expression "GO TO Hell" from a completely new perspective, lol. :)

    14. Re:Code Heaven by Anonymous Coward · · Score: 0

      Of course that's not where the bad code goes

    15. Re:Code Heaven by JDark · · Score: 1

      Then you have not met the right stripper.

    16. Re:Code Heaven by TheSpoom · · Score: 1

      Yeah, you go DO that. In the meanWHILE, I'm getting a sandwich.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    17. Re:Code Heaven by Opportunist · · Score: 1

      You, sir, are a godless atheist.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    18. Re:Code Heaven by spongman · · Score: 1

      actually, '=' (as in assignment) is the new GOTO.

    19. Re:Code Heaven by MadKeithV · · Score: 1

      That's silicone heaven. Adding a little e always makes a pretty big difference in that kind of experience.

  2. It's recycled by cbrocious · · Score: 3, Informative

    The code is used for other projects by the same company. Few companies release their old/failed code -- id being the only game company I know of that does so (GPLing their old code).

    --
    Disconnect and self-destruct, one bullet at a time.
    1. Re:It's recycled by Lorens · · Score: 4, Interesting

      I know at least one other company that GPL'd a product that was nice but didn't excite enough monied clients : Solsoft GPL'd Net Security Master, an application-level proxy.

      http://www.hsc.fr/societe/produits/index.html.en

      I worked for Solsoft at the time :-)

    2. Re:It's recycled by cbrocious · · Score: 1

      Many application vendors have released their code GPL'd or otherwise open source, but it's very rare in the gaming world.

      --
      Disconnect and self-destruct, one bullet at a time.
    3. Re:It's recycled by hitmark · · Score: 2, Insightful

      most likely because modern 3D engines are flexible enough that they can be reused in multiple projects, and the game logic is mostly strapped onto that.

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    4. Re:It's recycled by Anonymous Coward · · Score: 1, Informative

      freespace 2 and duke nukem 3d are also open sourced, and i doubt that's all.

    5. Re:It's recycled by Chaos+Incarnate · · Score: 2, Informative

      Not just that they're flexible enough, but that they often monetize them by selling the engines to other companies. Those other companies won't have the rights to release the engine code, while the companies who created the engines don't want to stop the flow of money.

      --
      Benford's Corollary to Clarke's Law: "Any technology distinguishable from magic is insufficiently advanced."
    6. Re:It's recycled by mR.bRiGhTsId3 · · Score: 1

      But then again how old is the freespace engine? Its not really cutting edge anymore, and games these days are in an arms race for who can have the best graphics at all costs, regardless of actually game play.

    7. Re:It's recycled by NewbieProgrammerMan · · Score: 4, Insightful

      The code is used for other projects by the same company.

      No, that's just what some delusional PHB or sneaky coder tells the decision makers at the company. In reality it just sits on a CD or in a version control repository until it gets lost or deleted. (Or until somebody needs a new version for some lingering customer that is still using it and wants to pay for a fix).

      I'm sure many a coder has told management that they will "re-use that big pile of obfuscated spaghetti code written by the owner or long-gone suspender-wearing senior coder"[1] until management believed it and left them alone so they could build something much better from scratch.

      [1] - Please note that anything not written from scratch by the current set of coders falls into this category.

      --
      [b.belong('us') for b in bases if b.owner() == 'you']
    8. Re:It's recycled by ivucica · · Score: 1

      Many companies surely fear how would public opinion form about their code, i.e. they're ashamed of what they did. And I don't look only at smaller companies or indies here.

    9. Re:It's recycled by thePowerOfGrayskull · · Score: 3, Insightful

      The code is used for other projects by the same company. Few companies release their old/failed code -- id being the only game company I know of that does so (GPLing their old code).

      For games in particular, this is true. Sometimes it's just retired entirely. The code is often such a nest of intellectual property issues that publicly releasing the source is just not going to be an option for the development company.

    10. Re:It's recycled by cbrocious · · Score: 1

      This is not true whatsoever of game code, which is the primary matter at hand. Rarely does a game company write a new engine from scratch, even when they want a very different version. E.g. Quake III is based on Quake II is based on Quake I, UT3 is based on UT2k4 is based on UT2k3 (can't remember the UTE version numbers).

      --
      Disconnect and self-destruct, one bullet at a time.
    11. Re:It's recycled by RiotingPacifist · · Score: 1

      Maybe not for a spacesim, but games from other genres could use it, ive been having a play with ufo:ai (an xcom clone) recently and they make heavy use of the quake engine. Despite being to old for any fps the quake engine is defiantly a lot better than a plain isometric grid that would have been the only alternative.

      --
      IranAir Flight 655 never forget!
    12. Re:It's recycled by NewbieProgrammerMan · · Score: 1

      Oh, sorry, I didn't know what Tabula Rasa was without looking it up. I've never worked at a game company, so I didn't know they had a software development culture that was fundamentally different from the niches I've worked in.

      --
      [b.belong('us') for b in bases if b.owner() == 'you']
  3. Old code never dies . . . by PolygamousRanchKid+ · · Score: 2, Insightful

    . . . it just fades away.

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    1. Re:Old code never dies . . . by Anonymous Coward · · Score: 0
    2. Re:Old code never dies . . . by SupplyMission · · Score: 1

      Yep, yep... moment of weakness. ;)

  4. The developers by thammoud · · Score: 2, Interesting

    all have copies at home.

    1. Re:The developers by Anonymous Coward · · Score: 1, Funny

      I have all copies at home.

    2. Re:The developers by Anonymous Coward · · Score: 0

      Your mom all has copies at home.

  5. we do. by Samschnooks · · Score: 5, Funny

    ...as most companies probably recycle code.

    We recycle code. We have to separate it ourselves though. There are code bins for C, Java, Javascript, Perl, and Python. It's pain though! Every semester some intern puts Javascript code in the Java bin and the other way around!

    But it beats having the code end up in a landfill!

    1. Re:we do. by ub3r+n3u7r4l1st · · Score: 1

      Well they both have the word "Java" on it, probably easy to get confused.

      If you have someone who put Java/Javascript code into a Perl bin then you have a much bigger issue.

    2. Re:we do. by biocute · · Score: 3, Funny

      Well they both have the word "Java" on it, probably easy to get confused.

      Tell me about it. I've seen C# codes in C++ folder, probably because they all start with a C and # is just two pluses overlapping.

      I'm only grateful the culprit didn't rename the C++ folder to C# thinking it was a typo.

    3. Re:we do. by UltraAyla · · Score: 2, Interesting

      I realize you were being funny, but this rings completely true. In my job, my boss is the primary sisadmin and I'm the primary web developer, where we each have some crossover into the other's area. But he (the much more seasoned one) uses Javascript and Java interchangeably, no matter how many times I have explained it to him.

    4. Re:we do. by maxume · · Score: 1

      Eventually, all the bins start smelling like Java anyway.

      --
      Nerd rage is the funniest rage.
    5. Re:we do. by Anonymous Coward · · Score: 0

      yeah, definitely big issues. Now, if some PHP eventually finds it way into the PERL bin, that, I can sort of understand.

    6. Re:we do. by Anonymous Coward · · Score: 0

      Way to explain the joke, Milton Berle!

    7. Re:we do. by chris.evans · · Score: 1

      The landfill is my junkyard, ones mans junk is anothers treasure. http://bbx.flnet.org/pub/dmsoft/mysrc/

    8. Re:we do. by Anonymous Coward · · Score: 0

      I can't tell if you're joking.

    9. Re:we do. by Anders · · Score: 1

      Every semester some intern puts Javascript code in the Java bin and the other way around!

      We got rid of that problem by decomposing the code all the way down to ones and zeroes.

    10. Re:we do. by Duhavid · · Score: 1

      "sisadmin"

      He administers people's sisters? Wow.

      --
      emt 377 emt 4
    11. Re:we do. by Anonymous Coward · · Score: 0

      sisadmins administer sissys, not sisters.

      Now get back to work you baby!!!

  6. Depends by Rik+Sweeney · · Score: 5, Funny

    That really depends, if it fails really badly then it gets buried.

    1. Re:Depends by Anonymous Coward · · Score: 0

      Actually, it is used as the basis for Microsoft Windows.

    2. Re:Depends by Anonymous Coward · · Score: 1, Funny

      Nobody ever found the buried ET cartridges because Microsoft came along later, dug them up, and used the code for Windows ME.

    3. Re:Depends by lowy · · Score: 4, Interesting
    4. Re:Depends by Geak · · Score: 2, Funny

      Code from failed projects? It usually ends up here: http://research.microsoft.com/

    5. Re:Depends by lamber45 · · Score: 1

      Hey, I played that game when I was a kid! I spent a lot of time trying to beat it! (I never did finish a level)

  7. No one can really know for sure by Anonymous Coward · · Score: 5, Funny

    Some have described a tunnel of bright light where the code executes in an infinite loop forever.

    Others theorize an ultimate review where code structure is judged. Good code may branch anywhere at anytime with an infinite clock speed and infinite memory space regardless of pointer size. It is said that in the code afterlife, even vista will run quickly. Bad code, say like MS BOB, will spend eternity in some embedded device like a clapper or firmware that controls a japanese toilet.
     

    1. Re:No one can really know for sure by torstenvl · · Score: 5, Funny

      Some have described a tunnel of bright light where the code executes in an infinite loop forever.

      As opposed to an infinite loop which doesn't last forever? :-)


      int main(void) {
          int i = 0;
          while (1) {
              if (i<10) {
                  doSomethingTenTimesInAnInfiniteLoopButNotForever();
                  i++;
              }
              doSomethingForever();
          }
          return 0; /* purely academic */
      }

    2. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      Sure - an infinite loop is a coding construct. It has nothing to do with whether there is POWER to run the computer. So while it may be an infinite loop in coding terms, it only runs when there is power - and this may indeed NOT be forever.

    3. Re:No one can really know for sure by SQLGuru · · Score: 3, Funny

      -Lee

      If you post anonymously, you aren't supposed to sign your post.......

    4. Re:No one can really know for sure by MMC+Monster · · Score: 1

      Bad code, say like MS BOB, will spend eternity in some embedded device like a clapper or firmware that controls a japanese toilet.

      So, a clapper or... a crapper?

      --
      Help! I'm a slashdot refugee.
    5. Re:No one can really know for sure by ivucica · · Score: 1

      Actually I never saw an infinite loop that DOES last forever :D

    6. Re:No one can really know for sure by Anonymous Coward · · Score: 1, Insightful

      I'm not sure if you're flame or what, but you should probably take another look.

      If that's really your understanding of the code, I hope you never touch a production system, anywhere, ever.

    7. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      i post anonymously because i don't have an account, not because I'm ashamed of what i post. this can obviously be remedied, i just haven't bothered.

      -Lee

    8. Re:No one can really know for sure by Anonymous Coward · · Score: 1, Insightful

      Wrong. The increment is inside the check for i 10.

    9. Re:No one can really know for sure by Amazing+Quantum+Man · · Score: 2, Funny

      You just haven't waited long enough.

      --
      Fascism starts when the efficiency of the government becomes more important than the rights of the people.
    10. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      You should be ashamed of your post. i will never be greater than 10 in his code, it'll never overflow.

    11. Re:No one can really know for sure by ivucica · · Score: 1

      ...you sure about that? How can you be sure? :-)

    12. Re:No one can really know for sure by Anonymous Coward · · Score: 1, Insightful

      No. 'i' is only incremented to 10, as the increment is within the condition. Parent's code is correct.

    13. Re:No one can really know for sure by ccguy · · Score: 0, Flamebait

      Why is this -1? He's right...

    14. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      hahaha disregard that, i suck cocks

      -Lee

    15. Re:No one can really know for sure by mebrahim · · Score: 2, Funny

      Best wishes ... I mean -funroll-loops

    16. Re:No one can really know for sure by Anonymous Coward · · Score: 1, Funny

      LOL, I declare everyone who posts AC should sign their post with "lee"..

      -Lee

    17. Re:No one can really know for sure by Anonymous Coward · · Score: 0


      int main(void) {

          int i = 0;

          while (1) {

              if (i<10) {

                  doSomethingTenTimesInAnInfiniteLoopButNotForever();

                  i++;

              }

              doSomethingForever();

          }

          return 0; /* purely academic */
      }

      That actually made me laugh out loud. +1 for the incredibly long and incredibly funny function name :)

    18. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      Why do you think he's right?

    19. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      Actually, i is incremented when the if statement is true, so i++ only runs 10 times as well, with i being 10 for most of the while loop.

      [I]t wouldn't be slashdot if no one was a dick.

      It wouldn't be slashdot without someone pointing out a correction needed a correction.

    20. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      LOL, I declare everyone who posts AC should sign their post with "lee"..

      -Lee

      No, I think that's a stupid idea.

      -Lee

    21. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      Because it'll obviously keep magically incrementing once i reaches 10, right? I mean, it's a loop with an iterator. There's a law against it not incrementing, right?

    22. Re:No one can really know for sure by Anonymous Coward · · Score: 0

      -funroll-loops doesn't apply unless the number of iterations can be determined at compile time.

  8. Re: by Neoaikon · · Score: 4, Informative

    Where I work if a project gets shelved we separate any useful functions from the code and copy those for future use. and then the code gets archived and a document of its code printed out on paper for reference and as a hard backup. Basically its recycled, although we've had clients come up after 5 years wanting to restart the project, and are surprised that we still have it.

  9. Yucca Mountains by amori · · Score: 2, Funny

    It just sits and waits for an approval, so it can be given a decent burial within the Yucca Mountains.

  10. Recycled Code by JWSmythe · · Score: 4, Insightful

        I've never worked on a project like this, but on other things I've done, I've used it as a learning experience. We always learn how to do things better over time, even if they're not the same type of project.

        Depending on the project, I've either kept a copy of my code somewhere safe, or I've just remembered "oh, it took this to do it well", and then do it again but better next time.

        I've known people who recycle their code directly. Unfortunately, that makes their errors follow them, and they reuse bloated libraries over (and over and over). On some, I've had to clean up, where I've found multiple things that do the same or almost the same things, and many things that were simply unused and had no application in the new project. Why should you have 10,000 lines of code, where only a couple hundred do the job. Sometimes the leftovers contained subtle but exploitable bugs. Is it worth saving a little time to leave a potentially dangerous bug in place?

       

    --
    Serious? Seriousness is well above my pay grade.
    1. Re:Recycled Code by cbrocious · · Score: 2, Insightful

      When you're talking about game engines, however, recycling code isn't just an option, it's a necessity. You're not going to rewrite half a million lines of code if you don't have to -- it makes no sense. You update the engine, add new logic, and package it with new assets to release a new game. It's the only way that makes sense.

      --
      Disconnect and self-destruct, one bullet at a time.
    2. Re:Recycled Code by DerekLyons · · Score: 1

      In the same way I'd recycle my current house into a new house - all I have to do is replace the foundation, modify the old wiring and piping to accept the new wiring and piping, and replace all the drywall and siding and most of the studs inside the walls. I.E. it's a hell of a lot more complex than you imply.

  11. Apologies to Langston Hughes by Gothic_Walrus · · Score: 2, Funny

    What happens to a code deferred?

    Is it ignored
    with no more patches to come?
    Or sit there, abandoned --
    and never run?
    Does it become obsolete
    Or turn into freeware --
    to become something sweet?

    Maybe it's reused
    To spawn newer code.

    OR DOES IT EXPLODE?

    --
    Goo goo g'joob.
    1. Re:Apologies to Langston Hughes by Anonymous Coward · · Score: 0

      Wow. And here I thought that African American Literature class was a complete waste of time...

    2. Re:Apologies to Langston Hughes by Anonymous Coward · · Score: 0

      Apologize to Langston Hughes? What about apologizing to us?

  12. it goes to code heaven by circletimessquare · · Score: 1, Funny

    how do you think they got cloud computing off the ground?

    if its really bad code it goes to code hell

    most pieces of malware, for example, are zombie pieces of code stitched together from pieces of netscape and aol. the code devil himself is composed of the evit bit and the piece of code that confused imperial units and metric units and caused the mars climate orbiter to crash

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  13. Usually by Anonymous Coward · · Score: 0, Funny

    Usually a program chooses exile when they face deletion. They are supposed to retun to the source, but they sometimes hide in Matrix and manifests themselvesthose werewolves, and aliens, etc in Matrix to screw with people's minds.

  14. Code is Cheap by 14erCleaner · · Score: 3, Insightful
    More important than pieces of code, what matters in a software product are good integration and a good user interface. Neither of which is particularly reusable. In fact, the most important thing that gets reused from most failed projects is the (now more experienced) programmers.
    To paraphrase the old saw about decisions:

    Writing good software requires experience, and experience comes from writing bad software.

    --
    Have you read my blog lately?
    1. Re:Code is Cheap by FrozenGeek · · Score: 2, Funny

      I sure have a lot of experience.

      --
      linquendum tondere
    2. Re:Code is Cheap by SQLGuru · · Score: 1

      I just learn the first time I make a mistake and don't make it again.....my code is some of the best in the company.....even compared to people with a lot more tenure and a lot more experience.

    3. Re:Code is Cheap by Anonymous Coward · · Score: 0

      Some of the best in the company, eh? How many other developers are there in your company? One?

    4. Re:Code is Cheap by Raenex · · Score: 2, Funny

      I make a mistake and don't make it again.....

      A sentence ends in a single period.

      my code is some of the best in the company

      I bet you're an excellent driver, too.

  15. usually not worth saving by Anonymous Coward · · Score: 1, Interesting

    A large codebase takes so much time and energy for a newbie to understand that often it is more effective, and nearly as quick, to re-implement it from scratch. Yes, I realize this is the well-known NIH syndrome, but a codebase that gained little or no traction in the outside world is probably not worth very much.

    Every software company that's been around for a few years has lots of failed attempts at a "new new thing" lying around, some checked into version control systems but many others sitting on a file server or some engineer's hard drive. You learn not to ask the guy about it as this will usually cost you a good chunk of your morning.

    1. Re:usually not worth saving by gbjbaanb · · Score: 1

      A large codebase takes so much time and energy for a newbie to understand that often it is more effective, and nearly as quick ... and a lot more buggy.

      A re-write from scratch is nearly always the wrong approach. Not only is it the same coders who created the old POS going to be responsible for the "shiny new cleanly designed codebase" (ie thew new POS) but you lose all the experience of working with the old one, often at a time when you still have to maintain it while doing the rewrite.

    2. Re:usually not worth saving by Blakey+Rat · · Score: 1

      Don't forget that while you're rewriting it, you have no actively-developed version ready to go. If a competitor springs up and starts wiping the floor with your old version, there's nothing you can do to speed that new version out the door, until it's finished.

    3. Re:usually not worth saving by gbjbaanb · · Score: 1

      Sometimes its worse than that - you have the old product being actively maintained for existing customers, but no new ones want to buy it and they cannot buy the new one until it's finished. You also have your best (hmm, or those who think they're the best) writing (or more often over-engineering) the new code all being paid salary that is not recouped by sales.

      Net result for one company I worked for that did this: a whisker within bankruptcy and loads of redundancies.

      When I was a young developer, I would be thrilled with the thought of rewriting code in shiny new tools, and remove the crufty old, and make it more usable and faster and etc. Now I'm an old developer I know better that there is much much more to developing products than coding them up. (and I also know new != better).

    4. Re:usually not worth saving by Schraegstrichpunkt · · Score: 1

      A re-write from scratch is nearly always the wrong approach.

      I'm tired of hearing Joel Spolsky's opinion touted as an irrefutable fact.

      "Never rewrite anything" is great advice for those who have no hope of ever understanding what their code actually does, or---more importantly---what it should do. It's not surprising that Joel, an ex-employee of Microsoft, would give that advice, but that doesn't make it universally applicable.

      The reality is that it depends on a number of factors, including on how much technical debt the project has accrued and how this impacts the organization's flexibility. Having simple feature additions blow up in your face because nobody really understands the current code base is an excellent reason to ditch that code base at the earliest opportunity.

      There are many other factors to consider, but what I've written suffices to show that a blanket statement like "rewrites considered harmful" is simply wrong.

    5. Re:usually not worth saving by gbjbaanb · · Score: 1

      My opinion has nothing to do with Joel's. Good to hear that he agrees with me though, I think he should credit me though as I thought it up first :)

      My opinion is down to experience, even the sprawling codebase that no-one understands can be understood and refactored to something manageable, it may not be nice but its certainly possible, it just takes a little dedication on the part of a senior developer. Bear in mind that every project I've ever worked on, when I first approach it, is from the perspective of not knowing anything about how it works, you see why I think this.

      I prefer the Big Ball of Mud link though, it shows how these projects arise and some of the patterns you can use to recover from them. Total destruction of the old and rebuild is left until the very end of the pattern.

      Besides I think I said "nearly always the wrong approach". Rewrite is too often considered to be the only option when all this is needed is some professionalism, not a hacker's approach to being too lazy to try to understand the code, or a junior's desire to try the latest coolest technology. I say this because all too often the rewrite ends up as a sprawling ball of mud itself.

  16. I know this one! by xactuary · · Score: 5, Funny

    Doh! It gets patched every second Tuesday of the month.

    --
    Say hello to my little sig.
  17. Pet Cemetary by halivar · · Score: 1

    It's how Quake III rose from the dead to become Star Trek: Elite Force.

    1. Re:Pet Cemetary by HeronBlademaster · · Score: 1

      So you're calling ST:EF a zombie? I guess that's not far from the truth...

      /me pours holy water on his ST:EF CDs

  18. It Gathers Cobwebs Till Nobody Left Remembers It by malloc · · Score: 4, Interesting

    In my observation at a commercial software firm:

    1. Product is canceled / killed
    2. Developers that know anything about the project are axed or leave
    3. The source control repository sits untouched for year(s).
    4. SCM admins decide the project really is dead, and it can stop wasting prime reliable/backed-up-/offsite storage. Project is archived to offline media.
    5. Now the project is not online, people that worked on it are gone, and managers that worked with it don't want to remember. After another few years people barely even remember it existed.
    6. What's happened to the code? It literally is sitting on physical media gathering cobwebs.

    -Malloc

    --
    ___________________ I want to be free()!
  19. Didn't you guys see Matrix Reloaded/Revolutions ? by guruz · · Score: 0

    (no text)

  20. They sell it by Anonymous Coward · · Score: 0

    I am hoping that some other company will buy TR from NCSoft and continue to host it.

    That is what happened to Hellgate: London, for example.

    Given how much money was invested in this game, it doesn't make sense for NCSoft to just sit on it and not run it...especially if they have the chance to recoup some of their losses.

    1. Re:They sell it by Anonymous Coward · · Score: 0

      lrn 2 thread

  21. Sloppy Code Bad for Company Reputation by Paeva · · Score: 1, Informative

    I imagine that if you saw into the heart of your typical code developed entirely for internal use (i.e. not for distribution without being compiled first), you would find only rot, stink, and generally a very scary place. You don't want your clients seeing that stuff.

  22. Corporate Asset by GrayNimic · · Score: 5, Informative

    When EA shut down Earth & Beyond, there were the typical calls for the server software to be released. Amazingly enough, they actually did get a response: that the code for the backend of an MMO represents a huge investment by a company, and that they (EA) would not release the code for two basic reasons. One, access to the code (source, libraries, decompilable libraries, whatever) for a fully functional MMO would be a huge leg-up for competitors attempting to enter the field. Two, the code represents a base that can be used for other projects, and releasing a version of that base could be a liability to those future projects. For those two reasons, the chances of EA in any way supporting community-run servers would be nil.

    Not stellar news (nor surprising), but the one pseudo-official response I have ever actually seen. And it does make sense, to me at least.

    1. Re:Corporate Asset by dubl-u · · Score: 3, Insightful

      One, access to the code (source, libraries, decompilable libraries, whatever) for a fully functional MMO would be a huge leg-up for competitors attempting to enter the field.

      Given some of the in-house code bases out there, it seems just as likely to me that releasing it could sink competitors as they spent months trying to turn a giant WTF-bomb into something that they could actually work on.

      My business rule of thumb is that application code bases generally have zero or negative cash value unless they come with the people who wrote them. I'm sure there are some exceptions. But over and over I've seen people take on code bases that had no continuity of personnel, and it seems like they always spend more time rummaging and fixing than it would have taken just to write things again from scratch.

    2. Re:Corporate Asset by westlake · · Score: 1
      My business rule of thumb is that application code bases generally have zero or negative cash value unless they come with the people who wrote them.

      How many experienced programmers are out there if you want to develop a massively multiplayer online game? The odds can't be much worse than 1 in 4 that you will be looking at people from EA.

    3. Re:Corporate Asset by Anonymous Coward · · Score: 0

      Basically this means that EA says they won't do anything with it, and won't let anyone else. EA is like the mystical elephant graveyard when it comes to games.

      My dream is that someone buys their stock, takes them private, and uses some of the warehouses of IP they have lost throughout the years as either remakes or stuff for new games. Ultima X (single or multi player), anyone? How about a remake of Privateer?

      If EA stopped assuming customers were criminals and dug up some stuff from their archives for a remake before the computing populace completely forgot about the game, they would be rolling in cash even in these troubled economic times.

    4. Re:Corporate Asset by brendank310 · · Score: 1

      I recall a year or two ago, the group at www.modtheater.com had tried to contact EA to get the game source for the game. EA responded saying that they would happily oblige, but they no longer had the code, or they didn't know where they kept it. Whether that was just a bunch of BS, who knows, but it looks like they shit can stuff too.

    5. Re:Corporate Asset by Anonymous Coward · · Score: 0

      EA also archives all of their game code. We are however starting to see the release of the materials from the wing commander games including some source code.

    6. Re:Corporate Asset by Blakey+Rat · · Score: 1

      EA responded with something other than just kicking you in the nuts? That's pretty impressive; those bastards are evil. I'm amazed they didn't just respond with, "we won't release the code, because we hate everybody, especially our customers."

    7. Re:Corporate Asset by shannara256 · · Score: 1

      As I recall, EA actually said that they wouldn't release the source code to Earth & Beyond for free. A non-profit was organized, pledges were taken, and the non-profit went to EA and said, "OK, how much for the source?" EA replied that they would only sell it to a long-standing games company. It's possible that they had someone in mind, that perhaps some other company was negotiating with EA to buy the rights, but personally I'm going to go with the more well-known, commonly held belief that they're just a bunch of bastards.

  23. I know ! by PrimordialSoup · · Score: 1, Funny

    Failed codes seek the oracle and wait for the bug in the system known as the "one" to save them.

    1. Re:I know ! by Anonymous Coward · · Score: 2, Funny

      Right, but even Larry Ellison can't buy every software company out there.

  24. Not just code, what about... by smackenzie · · Score: 1

    ...other assets like models, graphics, animation, sound, maps, and data files? These are enormous, time-consuming and expensive assets that also face extinction with failed projects. Or what about assets for projects that are... older and discontinued?

    I often wonder how great it would be for new (or smaller, or hobbyist, or cash-starved, or early in SDLC, or whatever) developers if more companies open-sourced these assets.

    1. Re:Not just code, what about... by John+Hasler · · Score: 1

      > I often wonder how great it would be for new (or smaller, or hobbyist, or cash-starved,
      > or early in SDLC, or whatever) developers if more companies open-sourced these assets.

      And, as someone upthread explained, that is exactly why companies like EA do not release code.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  25. Recycle code? by w3n-a · · Score: 1

    How can you recycle the code? Doesn't the recycling the code more expensive than create the new one? Different program has a different unik code, so if you recycle the failed code to the new program, you will spent more time on it.

    1. Re:Recycle code? by SQLGuru · · Score: 1

      If you code your objects or functions properly, they should be loosely coupled from the entire program and you can reuse the ones that make sense. The "glue" that made the program unique is what gets left behind.

      Layne

  26. Everyone knows... by Anonymous Coward · · Score: 0

    They're bought up by Larry Ellison and used for future versions of Oracle.

  27. Who cares? by Stinking+Pig · · Score: 4, Interesting

    Code is easier and more fun to write than it is to read. The first hurdle in front of this magical "re-usable resource" is that no one even wants to take the time to read it and decide if it's any good; the natural inclination is to write your own.

    Secondly, programmers are just as crowd-driven as anyone else; re-using code from a failed project is swimming upstream, just like writing code in an unpopular language.

    Third strike -- potential legal encumbrance. On the off chance that your project is successful, who know who might come out of the woodwork with a potential claim against it? Look at the SCO Linux lawsuit; even if the claims against your project are totally bogus, they'll still suck years out of your life.

    --
    "Nothing was broken, and it's been fixed." -- Jon Carroll
  28. Re:It Gathers Cobwebs Till Nobody Left Remembers I by Kadin2048 · · Score: 2, Interesting

    This jives with what I've seen. Although I'll add the additional, final step:

    7. Someone decides to clean out that closet full of accumulated crap, asks everyone if they know what the "FooBar_02" project was all about, and hearing nothing, throws it away.

    If it's stored on hard drives, tapes, or other reusable media, somebody might at this point grab them out of the trash for re-use at home, but if not they just go to the landfill with the rest of the garbage.

    Maybe at some point in the future, archaeologists will puzzle over the more well-preserved specimens, wondering how we managed to survive with such crummy software.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
  29. Failed PROJECTS or failed PRODUCTS? by Anonymous Coward · · Score: 1, Interesting

    There's a difference. It's estimated that at least 2 out of 3 - and probably more - complex IT projects fail. Usually there doesn't seem to be a whole lot that's salvageable. In large part because if it was of salvage quality, the project wouldn't have failed.

    On the other hand, if a project does succeed and becomes a marketed product, that's different.

    In this case, you have something useful - either directly or by adaptation. The problem is, someone owns it. So the only (legal) way to salvage it is to either license it or purchase it.

    I have, however, seen products that the owners didn't want to do that, but also didn't want to revive or even support them. In which case, tough noogies.

  30. Re: What Happens To Code From Failed Projects? by snikulin · · Score: 1

    It goes to code haven.

  31. Based on my experience... by vrmlguy · · Score: 2, Interesting
    1. Company builds an interesting product.
    2. The investors do everything they can to protect their IP.
    3. Things start to go horribly wrong.
    4. The firms assets are sold.
    5. The backups of the original software get recycled. Welcome to silicon heaven!
    --
    Nothing for 6-digit uids?
  32. Reused! by Anonymous Coward · · Score: 1, Funny

    Failed code is reused! It's all collected and put into the new version of Windows.

  33. Freespace 2 by Xelios · · Score: 4, Interesting

    I always thought it was really cool of Volition to release the source code to Freespace 2 after Interplay's demise. It's allowed a whole ton of custom mods and campaigns that I'm still playing today, 12 years after the game's release. Textures and effects were updated by the mod community and a lot of the new campaigns include new ships or weapons. Some of the best include:

    Beyond The Red Line (BSG conversion with Newtonian physics)
    Blue Planet
    The Procyon Insurgency
    The Babylon Project (Babylon 5 conversion)

    --
    Murphey's fighting Occam, and we're in the stands.
  34. I'm looking for the code that Walnut Creek sold... by Anonymous Coward · · Score: 0

    Back before the days of the Internet, "Walnut Creek" used to send me a catalog and they had tons and tons of code for sale. What ever happened to that code ? I can't seem to find Walnut Creek anywhere on the Internet and nor can I find that code. Another piece of code I am looking for is an HPGL plotter driver. There was an open source version floating around in the early 1990s, but I can't seem to find it anymore.

  35. It is deservedly buried? by shess · · Score: 4, Insightful

    People who don't write code seem to think that it's like a made thing, which, once made, has some level of intrinsic value. This is not true. Poor code can have actual negative value (it can even be destructive to a company). Even good code which solves the wrong problems can be a huge hindrance. Failed projects and companies seldom fail simply because they were technically excellent. [I'm not saying it doesn't happen, but I am saying that it doesn't happen all that often, and it's often impossible to divorce code from its context.]

    I still get requests to open-source a package I wrote 18 years ago for an OS which hasn't existed for 10 years. I wrote the original version of the package while I was a fulltime college student, in the two months before finals. I certainly went on to put another 3 or 6 months of fulltime work (spread over years) into improving it, so there's certainly some value I put into it. I don't think requesters really understand me when I suggest that if they were REALLY capable of using my code as a starting point, they would easily be capable of simply starting from scratch. There's maybe 10% of the code which really has value, but anyone talented enough to be able to pick that 10% out and repurpose it would probably have no desire to do so. I know that if I were tasked with solving the same problem, I'd just start over.

    1. Re:It is deservedly buried? by Anonymous Coward · · Score: 0

      May be they are just nostalgic?

      PS: I really crave for the code for old DOS games... even if you write your own, you knowit is not the real thing!
      (posting anon because I cannot login on this machine)

    2. Re:It is deservedly buried? by Anonymous Coward · · Score: 2, Interesting

      I know that if I were tasked with solving the same problem, I'd just start over.

      Perhaps they only want a small change or two.

      I'm stuck with several packages which haven't been updated since the early/mid 90s which I depend on intrinsically, and the authors refuse to provide upgrades, sell or otherwise provide the source. And I have offered good money.

      In one frustrating case, an author agreed to GPL sources, spent a month or so conversing by email as he got the sources off his old computer, then went quiet. That was 9 years ago.

    3. Re:It is deservedly buried? by Anonymous Coward · · Score: 0

      so why not open source it then?

    4. Re:It is deservedly buried? by ccguy · · Score: 1

      I don't think requesters really understand me when I suggest that if they were REALLY capable of using my code as a starting point, they would easily be capable of simply starting from scratch.

      I think to fail to understand the point of asking for the source code of something :-)

    5. Re:It is deservedly buried? by syousef · · Score: 1

      I still get requests to open-source a package I wrote 18 years ago for an OS which hasn't existed for 10 years. I wrote the original version of the package while I was a fulltime college student, in the two months before finals. I certainly went on to put another 3 or 6 months of fulltime work (spread over years) into improving it, so there's certainly some value I put into it. I don't think requesters really understand me when I suggest that if they were REALLY capable of using my code as a starting point, they would easily be capable of simply starting from scratch. There's maybe 10% of the code which really has value, but anyone talented enough to be able to pick that 10% out and repurpose it would probably have no desire to do so. I know that if I were tasked with solving the same problem, I'd just start over.

      What if your code does something that I don't know how to do and rather than simply re-use it I want to try to learn what you're doing?

      Alternately what if your code does something I need to do and does it well, and I can treat your code as a black box without actually understanding it too well? Then I could focus on the rest of what I want to do and treat your code as a black box.

      What if I have no intention of creating a viable product from your code and just want to tinker and fiddle?

      From what you're saying you have no use for the code. What exactly do you lose open sourcing it? Why do you even care what people will do with it? If they hurt their interests trying to use it in a way it wasn't intended, that's their responsibility.

      --
      These posts express my own personal views, not those of my employer
    6. Re:It is deservedly buried? by LingNoi · · Score: 1

      The code in question, TR does have value. It's a whole MMO game which if released would allow people to play their MMO again. The only reason it's being canned is because of maintenance costs.

      Code DOES have value, it takes a long time to create a MMO or any game for that matter and most of that time is with the assets rather then the code.

  36. file it away by Miros · · Score: 1

    "government warehouse!"

  37. I wish Borland would release code for C++ Builder by elmerfud2000 · · Score: 2, Interesting

    Borland has released code for several products. They stopped making C++ Builder a few years ago. I wish they would release that code to open source. Eclipse needs a visual editor for C++. They have one for Java, but not for C++. It could work with the QT libraries.

  38. MOD PARENT UP by Anonymous Coward · · Score: 0

    Sheesh, someone shows intelligence and they get moderated away? SMRT!

  39. Re:It Gathers Cobwebs Till Nobody Left Remembers I by ebuck · · Score: 1

    If the company lives, the code stays on the shelf and eventually the media suffers literal bit rot.

    If the company dies, it is marked as being a valuable asset by the creditors, which then hoard it because the poor people that collect the remaining 1% of their investment don't understand the true value of code. They just want their money back.

    They'll overvalue the code as if the code is minimally worth the wages it took to produce it, if not much, much more. Really the code is worthless without people who can build it, fix it, use it, sell it, service it, or answer questions about it. Since most would-be purchasers of the code clearly understand that it's worthless without such a support system, they'll want to buy it at a much lower price.

    Often the sellers won't be one person, and that makes it even more difficult to sell. Often there are no buyers; if people cared enough about the code to spend more money/effort, it likely would not be mothballed.

  40. Re:I wish Borland would release code for C++ Build by QX-Mat · · Score: 1

    Check again. Partial C++0x is support too.

  41. Re:It Gathers Cobwebs Till Nobody Left Remembers I by seanthenerd · · Score: 1

    No doubt - which is tragic.
    My two favorite computer games (by far) are Fighters Anthology (1997), and Star Trek: Armada (2000). Just absolutely phenomenal games. :)
    But the first was abandoned when EA disbanded its military-simulation division ("Jane's"), and Armada was completely abandoned after a legal dispute between Activision and Paramount (one day, all the Armada-related materials on the website just disappeared).
    On second thought, that's probably why games like Armada couldn't be officially released - too much of a copyright hurdle between Activision's code, and Paramount's art/storyline/characters/etc. But it's nice to dream that they could be; both Armada and Fighters Anthology still have active modding communities (and that's saying something with FA, which had no mod tools) a decade later. Imagine what people could do with the full sources. They're good games; it's a shame that they'll eventually just be forgotten and lost forever.
    If I was a game developer, I'd want to snag a copy of all the source code just as a product finished, so I could share it around a decade later and see what happens.

  42. Re: by Gorobei · · Score: 4, Interesting

    I took the opposite approach at my current job. After computing the cost to maintain a line of code (around $10/year,) the logical solution was to delete all unused code. The payoff was great: no more worrying about breaking compatibility, smaller, cleaner codebase, etc.

    Another plus was that shelved code tends to be bad code: if it didn't suck, it would still be in use. Maybe it had some useful gems in it? Possible, but doubtful: usefully gems should have been in a common library, not a cesspool application.

    A final benefit was that it made paying the programmers much easier. The author of 10K lines of code that were being used got paid a lot more than the author of 20K lines of code that were deleted.

  43. Raiders of the Lost Ark by MNCaudill · · Score: 2, Interesting

    Remember the last scene from Raiders of the Lost Ark?

  44. Re:Didn't you guys see Matrix Reloaded/Revolutions by Anonymous Coward · · Score: 0

    i didn't stay awake tthrough them if thats what you mean. talk about crap.

  45. the askdarwin tag by irving47 · · Score: 1

    I suppose he or she thinks that it comes down to survival of the bittest?

    I'm here all week.

    --
    I had a sucky sig.
    1. Re:the askdarwin tag by pdfalcon · · Score: 1

      Why, there was that time back in Melbourne when we, having failed to corner the market for 8086 assemblers and COBOL compilers, were trying to prove we could make an APL machine...

  46. Re:It Gathers Cobwebs Till Nobody Left Remembers I by Anonymous Coward · · Score: 0
    Step 8 usually comes about 2 weeks after step 7.

    8. New client asks for a project just like "FooBar_02". Brilliant, free money - all the work is already done! Now we just need to get the code out of CVS... D'OH!

  47. Re:It Gathers Cobwebs Till Nobody Left Remembers I by D+Ninja · · Score: 1

    What's happened to the code? It literally is sitting on physical media gathering cobwebs.

    I think you need to look up the definition of literally.

    While it may be sitting (which, one could argue the term sitting, but I know what you mean) on physical media, it definitely is not "literally" gathering cobwebs.

    Ahhh...now I feel better that I've had my grammar fix for the day.

  48. Re: Negative Value... by TaoPhoenix · · Score: 1

    I think this whole AskDot topic is pretty important.

    Lurking around your post and some of the others is the key to Web 3.0.

    If __ codebase "has negative value", then it might be a candidate for release to GPL after being "codecleaned".

    Some hobbyist may extract some random subroutine with a scalpel and then puff it into some entirely different little app.

    There's some weird brand of the contrapositive of opportunity cost going on here. Trench sniping over IP is the hot pastime of this decade and next. So it's "worth" throwing out huge code derelicts, thus wasting tons of resource time, and then complaining when someone wants to poke at it.

    --
    My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
  49. hehe by Anonymous Coward · · Score: 0

    when I was getting rid of old ASP site for
    a very well known european airline
    I almost convinced my manager that maybe the source code should be printed and stored is a safe location
    it was fun :)

  50. Re: Help Bury! by TaoPhoenix · · Score: 1
    --
    My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
  51. APL by blip · · Score: 1

    I know of APLers with about 40 years of software production on their belt. They still use functions and code they wrote in their first year. They claim it is much more fun to do something new than repeating oneself over and over again. If they write a new program, it mostly goes like this: take/copy some functions from library, add some database and string manipulation, drop in a stylesheet and voila your shiny new web-application. I have never seen them needing more than one or two days to finish a complete application, even quite complex ones.

  52. blind by TaoPhoenix · · Score: 1

    bah you said "buy" not bury.

    --
    My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
  53. Just waiting for the last rights by Anonymous Coward · · Score: 0

    Dead source code that's commercial is almost never released because of "IP Issues". Someone winds up owning the bones of the dead project so you'll never see it because, in theory, the owners might be able to recover some small part of their investment if it stays closed. IMHO, this is the worst part of commercial software; the world never gets to learn from it. Even the folks who wrote the code are risking their necks if they reuse more than concepts from the original code in their next project.

    1. Re:Just waiting for the last rights by Anonymous Coward · · Score: 0

      IMHO, this is the worst part of commercial software; the world never gets to learn from it

      I think this is an advantage in a lot of ways. Even without access to the code for things like Internet Explorer 3.0 and Windows Me you can grasp the concept that the code was so bad they needed to be mostly rewritten from scratch. Things like the doc parser in office has evolved into such a disaster that even Microsoft has given up on trying to follow what it's doing.

  54. Re:I wish Borland would release code for C++ Build by Syrente · · Score: 1

    Oh man, real support for Eclipse would be brilliant.

  55. It's practically forgoten by saigon_from_europe · · Score: 2, Interesting

    I used to work in four different companies. From my experience, the code will be forgotten for good.

    As a first, software products are typically poorly documented. Typically, some documentation is written *after* the project. If project has failed, the chances are that even post-mortem documentation would never be written. Without documentation, there are small chances that someone will be able to use the code.

    Technologically speaking, code reusability is generally very low. Except if it is some framework (which by default means that it is for reuse), sometimes even small changes in business logic may lead to significant changes in code (if it affects some assumptions that are made early in project). Different project would probably require too much change.

    Even if the same programmer needs to be swapped to the new project, very few code will be taken to it. But he will transfer his experience, which is not a small asset.

    I will give you one small example. I had to write a TCP stack simulator. I was contracted to write a TCP over ATM simulation. My plan was to give a code as GPL after the release (no legal problems there). Project started very well, with nice OOP architecture and everything. As project went further, I noticed some errors in design, but it was too late to change them. The closer we were to the deadline, there was more and more bad code inserted. Not that there were many bugs, but it was not that elegant as it was in the beginning. Finally, no matter that simulation worked quite ok, I was not that impressed by idea to give it to the public. Simply, code was in a need of a refactoring; documentation was almost non-existant; I had no time or motif to work on any more.

    That project was a success, but would there be any real benefit of giving that code to someone else to use it? Now imagine if that was a failed project - same thing but with bugs and without any results. Who would ever like to use that?

    --
    No sig today.
  56. Remember netscape, by nitsnipe · · Score: 2, Funny

    It becomes firefox.

  57. 40 years of APL production? by symbolset · · Score: 1

    What is that, like 500 lines?

    --
    Help stamp out iliturcy.
  58. It's still there by symbolset · · Score: 1

    Trapped in the amber of Entropy, existing in the continuum of usefulness between infinitely close but unreachable alternative choices more and less useful which define the code utility metaverse.

    --
    Help stamp out iliturcy.
  59. some things never make sense with corporations by Anonymous Coward · · Score: 2, Interesting

    Amiga and BeOS, etc One that annoys me is I have some old mac classic machines, still useful if I could get say like classic 8.6 from apple for real cheap, but it is unobtanium. OSX certainly won't run on them, 9.xx is bloated, I'd pay apple a few bucks to download 8.6 or have it shipped on a disk, they don't want it. Look at Redhat when they stopped selling a cheap boxed version. They used to get 60 bucks from me, now it just costs them for me to get Fedora for free, because I am not going to pay hundreds for some "workstation" desktop release, but 60 or under (like ten or twenty bucks for the disks and access to the repos) I might think about if it was stable and supported for several years with just official updates. I'm on dialup so I just buy them from the disk clone makers, redhat gets not a penny because they just don't want the money or something.

        I don't like fedora's twice a year release,it is too rushed, but I do it anyway because once the newest stuff is out the older version gets seriously neglected even though they offer some patches and whatnot, you can tell it degrades fast. But I would rather just get stable code and have a little money going to the developers. They don't want it unless you give them hundreds. Ta heck with that. So there is CentOS, but the devs and company at redhat still get no money. If I was a redhat shareholder I'd be complaining about that bigtime. Copies are cheap, why don't they try to make a few bucks?

      Sometimes things just don't make sense with corporations. Detroit destroying their initial electric car efforts (that were pretty good actually, the EV1 and electric Ranger where decent vehicles) on purpose so the Japanese could come in and grab that market, now they need a bailout. Crazy corporations. I think sometimes the guys at the top levels get so far removed from day to day reality they just get a case of the stupids from megalomania or something. Back to the cars, when the CEOs all flew in on the jets, they got laughed at, when ANYONE with a clue, basic PR 101, would have told them to drive in with their best efforts and concept cars, like they just did last week the second time they came in to DC to beg for bailout money. The Cxx whatevers just get detached from normal middle class reality because they are just too rich and used to giving orders and think they are infallible, can't even see a lot of things anymore so they make boneheaded decisions with their markets.

        Look at the MAFIAA tards who just don't get it that 20 bucks for ten cent plastic disk with some ones and zeroes on it is serious price gouging, because $20 to them is a dropped penny on the ground, all the big bosses in the music and movie industry are multimillionaires surrounded by yesmen toadies. So they wonder why piracy took off. They just don't get it.

    1. Re:some things never make sense with corporations by xyxvv · · Score: 1

      Yeah, it sucks they haven't released everything up to 9.2.2, since they haven't even supported it. Even more retarded is that they haven't sourced any of it, sure they still use quicktime, but if they sourced the rest of the stuff that has gone completely defunct it wouldn't be as hard to just build those replacement parts, instead of starting the whole thing from scratch, I'd love to see a community remake of A/UX using parts of OS 9. http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/ Same could also be said for BeOS, Amiga and OS/2, having them at least partially sourced would be quite interesting.

    2. Re:some things never make sense with corporations by Count+Fenring · · Score: 1

      While I have nothing but twisted, elemental hatred for Mac OSs prior to X, I would gleefully kill for the source to BeOS to be released.

      Haiku is slowly, slowly getting there, but man... we could have been there. For years.

    3. Re:some things never make sense with corporations by Anonymous Coward · · Score: 0

      Judging from the amount of work needed to remove the 68K code from the MacOS we can assume the classic MacOS code is such a mess Apple will never release the source for the system file.

  60. Re: by Anonymous Coward · · Score: 0

    You pay programmers in terms of KLOCs produced? Is this 1970s IBM?

    On numerous occasions I've written an alpha version of something, had stuff mostly working, then went through with a "lessons learned" approach and rewrote huge chunks into the final product that are a fraction of the original in length. What happens to the alpha code? It's no longer in use, I don't reuse it, I don't get paid for it?

    I usually archive it for historical/documentation purposes and never look back, but to say the author of 20k lines of unused code didn't work as hard as the author of 10k lines of code, or that the longer code isn't of the same quality seems unfair, shortsighted and ineffective.

  61. Golgotha by BlueLightning · · Score: 1

    The Golgotha source did get released when the company producing it closed down. It's not exactly a success story though since apparently nobody completed the game based on the released material.

  62. Donate it to the Computer History Museum! by Al+Kossow · · Score: 1

    I am the Software Curator of the Computer History Museum. We are actively soliciting donations of software, in particular, source code.

    http://www.computerhistory.org/collections/donateArtifact/

    Over 60,000 artifacts of all kinds are now searchable on line
    http://www.computerhistory.org/collections/search/

  63. They get slashdotted by Anonymous Coward · · Score: 0

    And we get useless Ask Slashdot posts... No wait, they get into the linux kernel so that people can change the in-kernel ABI for apparently no reason whatsoever between point releases and as for drivers which don't get updated ...

    They get slashdotted

    And we get useless Ask Slashdot posts... No wait, they get into the linux kernel so that people can change the in-kernel ABI for apparently no reason whatsoever between point releases and as for drivers which don't get updated ...

    They get slashdotted

    And we get useless Ask Slashdot posts... No wait, they get into the linux kernel so that people can change the in-kernel ABI for apparently no reason whatsoever between point releases and as for drivers which don't get updated ...

    They get slashdotted ... and so on.

  64. Re:I wish Borland would release code for C++ Build by Anonymous Coward · · Score: 0

    I believe C++ Builder and Delphi are now owned by Embarcadero.

    http://www.embarcadero.com/

  65. Re: by HeronBlademaster · · Score: 2, Funny

    So... 10K used lines gets paid more than 20K unused lines...

    return 0;

    Here we have one line that is used frequently! That'll be $4 million. I accept paypal.

  66. It's all available on line... by ayjay29 · · Score: 1

    ... it gets posted here.

    --
    Offtopic, Inflammatory, Inappropriate, Illegal, or Offensive comments might be moderated up.
  67. Re:It Gathers Cobwebs Till Nobody Left Remembers I by HeronBlademaster · · Score: 1

    What do you mean Armada couldn't be officially released? It was the second-best-selling Star Trek game, and it had a sequel.

  68. It all gets lost for ever. by mlwmohawk · · Score: 1

    Over 20 years ago I would at a company called Business and Professional Software. They had a DOS presentation package called "Trumpet" (This was before Trumpet WinSock)

    Anyway, I ported the DOS version to Windows. Being a Windows 2.x beta tester and developer, I had access that BPS didn't have yet, so I had the expertise and the knowledge.

    I did some very cool stuff in real-mode Windows. When the program printed, I saved a new document that represented what was selected for print, and spawned a new copy of the program to print. Everyone else at the time had printing as a modal operation. I did some cool things with font mapping, kerning, color management, etc. The product was very cool. Personally, I think we were better than Hollywood (look it up) and Powerpoint was a joke. In the infinite wisdom of David Solomont, he hated Windows, and didn't push the project. He only wanted it to back up the DOS and DEC CDE software offering. Alas, so it goes. It would probably make a good base for a Linux offering today as we used AGFA font rendering and did our own layout, we did not use the Windows GUI except as an output device.

    Anyway, I had a copy of the code a long time ago. (In case they need to ask me about it or need a fix) It is, however, now long lost. Most code doesn't actively get tossed when it is no longer used, but it becomes less and less likely to be backed up. In the case of companies going out of business, it exists until the last hard disk is crushed in the land-fill.

    There's probably more than a million man-years work of code lost every decade.

  69. Why would it go anywhere? by mckyj57 · · Score: 1

    Nobody wants it -- why do you think the project failed?

    1. Re:Why would it go anywhere? by John+Hasler · · Score: 1

      > why do you think the project failed?

      There are so many reasons...

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:Why would it go anywhere? by LingNoi · · Score: 1

      because NCSoft killed the project. Lots of people still play TR it's just a lame executive decision..

  70. Re:It Gathers Cobwebs Till Nobody Left Remembers I by seanthenerd · · Score: 1

    What do you mean Armada couldn't be officially released?

    Sorry - I meant if Activision wanted to release the source code for it now (or if anyone wanted them to) they wouldn't be able to work it out with Paramount. I imagine that most abandonware games die that way. You're right though - definitely was officially released, and highly popular. :) And then gone.

  71. Re: by Gorobei · · Score: 2, Interesting

    I guess I didn't express myself well. I don't care about KLOCs, I want problems solved.

    I get very annoyed at programmers who claim they are productive because they wrote 20K lines of rubbish. So, I fire them and give the freed-up money to the guy who wrote 10K lines of useful code.

    And, yes, I do understand that some things are one-shot projects (e.g. data migrations.) Using my super-manager powers, I explain we will get paid for getting the job done, not for writing pretty stuff.

  72. Re: by Anonymous Coward · · Score: 0

    I'm afraid that your code violates several of my patents. I demand you cease using it immediately.

    -Lee

  73. Re:It Gathers Cobwebs Till Nobody Left Remembers I by Anonymous Coward · · Score: 0

    What's funny is that you let the "sitting" part pass and take issue with the "cobwebs" portion. Yes, it possibly is literally gathering cobwebs, and arguing the contrary just brands you as an idiot.

    Also, a debate over the proper use of the word "literally" is a semantic one, not syntactic (or morphological). You could've avoided this by learning the definition of the word "grammar" before engaging in a semantic argument, but that masturbatory post of yours felt really good, didn't it?

    P.S. You're a dick.

  74. Re:It Gathers Cobwebs Till Nobody Left Remembers I by HeronBlademaster · · Score: 1

    Ah, that makes a bit more sense :)

  75. Re: by Gorobei · · Score: 1

    Now make the other 9,999 lines of code per year look as easy and clean as that, and you'll have your $4M pretty soon.

  76. Too much code by Brandybuck · · Score: 1

    There's far too much code out there to reuse it all. So we need some way to separate out the good reusable code from the the bad code. And one way is to let individual voluntary actions of developers and users operate to create an emergent order that will rank the code by desirability. In other words, a free market of ideas. Some good code will slip into obscurity and some bad code will get more promotion than it warrants, but overall the code that does get reused will be the good code.

    It's like that other emergent order called evolution. Does anyone care what happens to failed mutations? The good genes get reused and improved, the bad genes die out. It's not perfect, but nothing in life is.

    --
    Don't blame me, I didn't vote for either of them!
    1. Re:Too much code by LingNoi · · Score: 1

      Sounds good, what shall we call it?

      Well it's about source code so I guess the name source needs to be in there.. I guess the code would need to be open so that people can judge it.. how about "open source" sounds good to me, what do you think?

    2. Re:Too much code by Bungie · · Score: 1

      I think "Open Source" would be a bad idea Richard Stallman will come after you for sure.

      --
      The clash of honour calls, to stand when others fall.
  77. You should be ashamed. by Anonymous Coward · · Score: 0

    You'll never have a UID as low as Anonymous Coward.

    -Lee

  78. Hear, hear! by Anonymous Coward · · Score: 0

    We pass our engine code from project to project, and during each project, it is evolved as needed for the requirements of their project. A modern game codebase can be anywhere from one and three million lines of code (our current project is well over 2 million lines, without even including the middleware libraries we use for things like physics). Modern game engines usually have many many man-decades of labor invested in them, and we like to get as much mileage out of that as we can for each new project.

  79. Re: by Ckwop · · Score: 1

    I am intrigued as to how you came up with a figure of $10 per line of code? It's not that I don't believe you. I'm just interested in the manor in which you calculated this figure.

  80. Re: by Anonymous Coward · · Score: 0

    $10/year to "maintain a line of [shelved] code"??

    What the hell are you paying for storage?

  81. Landfill by Anonymous Coward · · Score: 0

    Silicon valley is formed between the mountains of buried code from failed start-ups.

    I'm sitting on piles of years old code that's still more sophisticated than any graphics code commercially available today (crazy stuff like fully interactive 100fps high res 32bit color animations in under 100k file sizes inside of web browser)

    And I can't do anything with any of it because of the legal entanglements that encrust such code. So it sits in unracked servers and drives.

  82. Re: by Gorobei · · Score: 3, Interesting

    I was lucky enough to have a 10+ MLOC codebase, plus version control history on 500+ developers going back 10 years. After writing a shredder/hasher to look for cut and paste programming, was pretty easy to divide commits into new development vs "maintenance." This gave rough $/line numbers.

    Then asked a number of developers to estimate their time spent checking/maintaining compatibility with existing code. Numbers mostly agreed with the version control numbers.

    Finally, went to some managers and asked how much they would pay to have 1K, 10K, 100K LOCs removed. Again, numbers matched reasonably well.

    I don't claim science here: estimates varied from $1 to $100 per line, but $10 was a number most people were comfortable with.

  83. What *Should* Happen by Digital+Vomit · · Score: 1

    What should happen is the code gets released into the public domain as part of the deal that is "copyright".

    --
    Modern copyright is theft of culture from everyone and it retards the progress of the useful arts and sciences.
  84. Corporate Asset by Anonymous Coward · · Score: 0

    I have seen at least one case where the code was sold to a firm that just used it as a tax deduction. They could write off the development costs of the asset even though they had no intention of using it.

  85. Places like this, if they're lucky by jlowery · · Score: 2, Interesting

    http://www.oldsoftware.com/old_parts.html

    I don't know how one can run a business selling junk like this, but all those old CD's wind up at the bottom of the food chain.

    Of course, you may need to broaden the term 'failure' to include 'shipped, but failed to sell'.

    --
    If you post it, they will read.
  86. Re:It Gathers Cobwebs Till Nobody Left Remembers I by chris.evans · · Score: 1

    >6. What's happened to the code? It literally is sitting on physical media gathering cobwebs. and bad sectors.

  87. Re:It Gathers Cobwebs Till Nobody Left Remembers I by Tikal · · Score: 2, Insightful

    Honestly, if you're lucky, several of the lead developers have kept copies of the source of their own (legally or otherwise), and have a decent idea about what is and isn't worth reusing. I've seen this in a few places, both very big and small.

    The brightest people I've seen (coders, managers, producers, etc) have "personal scrapbooks" of this sort.

    If they're still at the same company, or otherwise have rights to the code, they use or encourage use of the code directly; if they're not, they generally use the practices and ideas to implement it again. New implementations on the same ideas can be even better than old ones.

    If you work someplace with some examples of great code or ideas, it's worth prodding the authors until you understand the hows and whys. Often, if you get the reason behind _why_ something was done the way it was done, (re)building it becomes much easier. People generally enjoy explaining if you take an interest at an opportune time. This kind of information can be even more valuable -- and yet less legally/morally questionable -- than taking the code with you.

    Better yet, if *you* have coded or helped with a great system, share it. If you can't share the code, share the ideas: lecture at an industry conference, talk to students, write a blog, submit magazine articles, publish a book, or whatever you can get away with; even company-internal workshops. You'll get far more information than you give, almost guaranteed. It's rewarding on several levels.

    All that having been said, some of these things really do work out for the best; some of the code that was lost deserves to undergo a death/rebirth (it would stagnate and never improve otherwise), and some rare pieces should be utterly forgotten (too complex or useless to even present an effective antipattern -- the stuff of nightmares).

  88. It Depends by Adam+Heine · · Score: 1
    It really depends on the company. A smart company with good development processes and strong communication between developer groups will not only recycle the code, but will already have been using common libraries written by others in the company.

    On the other end, in companies with little communication, or programmers who think they can do it better/faster from scratch, old code is hardly looked at and often lost forever.

    And past that you've got the government, which starts from scratch multiple times within each project. I was on a government project once only to find we were working on the fourth version of a program that had never been finished and didn't work. A few weeks in we discovered why as the government insisted we use a certain third-party development software and ignored all of our warnings that it would never do what they wanted it to do.

    After banging our heads against the wall trying to warn them, we eventually gave up and played the CYA game, reminding ourselves that we still got paid even if the project never worked.

  89. Humans don't help each other in capitalism by lpq · · Score: 1

    In a capitalistic society, it goes against the grain to release "dead" code to the public. It might give some competitor a 'leg-up' in some future venture against you. Companies that kill products, or go out of business are nearly always intent on taking their code to the grave with them.

    All that wasted intellectual capital -- that others could have looked at, gotten ideas from, possible adapted for other uses...It's a sick and harmful effect on society and humanity -- so much better to throw away good code than to let anyone else possibly benefit.

    Certainly it isn't pro-human-race survival for humans to always be "knee-capping" each other to always keep others from getting ahead -- but it's like -- I think it was female lobsters put in a bucket. If it looks like one is about to get out -- the others will pull her back in to prevent her from "getting ahead" and "surviving"....better to kill everyone so we are all 'even'.

    It's very related to people going out of their way to make sure others don't get or make use of some perceived advantage. It's sad to see some 25% of the people who will go out of their way -- out of spite, to bring others down to their level -- rather than going with the idea that if some are pushed up, there may be more opportunities for them -- even if they aren't the ones that make it ahead.

    To me, that's a psychopathic, negative personality -- that seems to exist in the US population in the 25-33% range (maybe depending on generation or economic climate).

    What's odd, is that in group studies where one person can donate money to a 'pot' that is then divided among all,
    there are US folks that will forfeit their own money and progress to punish those who are perceived as not giving their "fair share", yet reap benefit. However, this is specific to US society. In ex-Soviet states, the "punishers" punished those who gave who gave *more* than the average -- or gave the higher amounts -- there, it had become more important to punish those who put pressure on the others to give more.

    Similar 'sentiments' punish those who don't meet the norm, but very fascinating the way it went in different directions in different societies. Yet -- it still boils down to some 25-33% of the population who make themselves guardians, judges, and enforcers of some 'mediocrity' in society.

    It's almost as sad as thinking about all the resources and capital that have been 'burned' or gone to waste by people singly and in large groups fighting against each other and destroying accomplishments all to keep others from getting ahead -- all of which ultimately drags down the entire group.

    It's one of the saddest features of most large US companies -- where employees are rated and ranked against each other -- a large number spend significant time and effort to undermine successes of other employees.

    It really needs to be classified as *pathological*, sick and criminal behavior -- not "human nature" and not "acceptable" -- because it pulls everyone backwards and down. Ultimate -- it fits the true definition of evil -- something that is anti-human (human health, life, race, evolution). Things that have ill will toward humans (in general) or humanity are the most general definition of "evil".

  90. but by Anonymous Coward · · Score: 1, Interesting

    where would all the calculators go?

  91. Software has a shelf life by Anonymous Coward · · Score: 0

    The problem with all this old code is that it was written for a particular environment, and that environment is always changing. Unless the owner of the code spends resources maintaining it and adapting it to new environments, it will eventually either not function well or not function at all.

    You may be able to resurrect it in an emulation layer for historical curiosity. This is what we do with old Commodore-64 and CP/M programs.

  92. This is why code should be GPL'd by jamesmcm · · Score: 0
    If the code is GPL'd then at least if the project fails, all the time wasn't a waste as someone else may pick up the code and use it something, or perhaps even revive the project.

    It also means people don't have to reinvent the wheel constantly.

  93. jailed projects? by Anonymous Coward · · Score: 0

    First I misread the title: what happens to jailed projects...
    Before you ask, no I am not Hans...

  94. boom.com by Anonymous Coward · · Score: 0

    code sold for £250.000 and transformed by its author to become, tra la, Venda.com - sort of.

  95. Re: by Anonymous Coward · · Score: 0

    Yes because every time they maintain the line SCO claims it was part of their UNIX property rights. After disproving that, Microsoft claims it infringes on Windows IP and offers and offers a deal to Novell. The resulting press campaign and cross licensing frenzy triggers another EU antitrust case. After all is said and done and Media Player is removed from Windows we arrive at a cost of $10 per line.

  96. It's kind of like all those E.T. cartridges... by rwbaskette · · Score: 1

    the code will probably end up buried in the desert somewhere.

  97. et tu, MULTICS? by WindShadow · · Score: 1

    Of all the code from discontinued projects which vanished, I would have liked to see the MULTICS code released. Instead, I'm told that Honeywell wouldn't even sell the code, reasons unclear.

    Having worked on that code decades ago, and seen how close the modern Intel/AMD processors are to the features of the original GE-645 CPU (four rings instead of eight), it would seem that MULTICS could be ported to such processors, making all the application code written for MULTICS (mostly in PL/1) available again.

    I guess I'm a dreamer, but even if the code needed to be emulated, ala bochs it would probably run as fast as the 70s processors.

  98. Old code doesn't die... by jemminger · · Score: 1

    it decompiles.

  99. What is this about ? Exploding code ?!? by freaker_TuC · · Score: 1

    Some kind of terroristic advert? ;) Are you from the ECC (exploding code coalition)?

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
  100. Re:I wish Borland would release code for C++ Build by zoomosis · · Score: 1

    Codegear owns C++ Builder now.

    C++ Builder 2009: http://www.codegear.com/products/cppbuilder

    Unless you meant Kylix, which seems to have been abandoned.

  101. Re: by Anonymous Coward · · Score: 0

    The manor is on a large estate in upstate New York.

    -Lee

  102. Take a Ride on the Clue Train by Spinlock_1977 · · Score: 1

    Earth and Beyond was the last MMO I played - loved it! Totally pissed when EA shut it down. Amazed at their stupidity, I could never understand why they didn't leverage the game as a conduit to move top-level players into another game or level with enticements/rewards, etc. Instead, they told us they didn't want our monthly $12.95 anymore and pissed off a huge cadre of devotees. I swore I'd never give EA another penny (and I haven't). Hopefully, many others did likewise. I'm hoping these bastards will go broke and their IP will be bought up by someone with a seat on the clue train.

    --
    - The Kessel run is for nerf herders. I can circumnavigate the entire Central Finite Curve in a lot less than 12 parse
  103. Re:It Gathers Cobwebs Till Nobody Left Remembers I by cromar · · Score: 1

    That would have been awesome if you had ended it with "PS I'm a dick" instead.

  104. some projects sell the code by Anonymous Coward · · Score: 0

    I worked on a project that failed eventually they sold the code. I was thinking too bad you couldn't have an openmmorpg framework.