Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Code Decay  (Read 1597 times)
0 Members and 1 Guest are viewing this topic.
Offline Breakfast

Senior Member




for great justice!


« Posted 2004-03-16 09:51:42 »

Here is a scenario I have just experienced:

Write a piece of code. Test that it works in a few cases. Decide it's fine and any problems will come out in final testing.

Go on leave for a week.

Come back to work and find a testing report that states there is a problem with the code in question. When I look at the source I can see immediately a bug which means that not only does it not work, there is no way it ever could have.

Does anyone else suffer from this phenomenon where untouched code appears to decay if you leave it alone? Does source-code have a half-life? Where do the other commands and characters go?
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #1 - Posted 2004-03-16 09:55:49 »

Grin

Yes, this is a very common phenomenon.

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline cfmdobbie

Senior Member


Medals: 1


Who, me?


« Reply #2 - Posted 2004-03-16 10:12:25 »

You can extend the half-life of source code by the addition of comments and documentation, but anything not touched for six months will become unusuable - no amount of supplementary diagrams or presentations will get you through that barrier.

Hellomynameis Charlie Dobbie.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jeff

JGO Coder




Got any cats?


« Reply #3 - Posted 2004-03-16 17:28:10 »

The converse is that anything continually touched for a year or two will become unusable Smiley

if you have control over your environment and proper back-ups then code should not deteriorate if it isn't used.  back when I was in college the CPSR newsletter had this to say (and I've always liked the quote"

"The difference between programs and elevators is that elevators break down if they aren't maintained while programs break down if they are."

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline nonnus29

Senior Member




Giving Java a second chance after ludumdare fiasco


« Reply #4 - Posted 2004-03-16 21:09:32 »

Welcome to my hell... a 33 million line vertical app that is 35 years old....

Angry Embarrassed Lips Sealed :-/
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #5 - Posted 2004-03-16 22:31:16 »

Quote
Where do the other commands and characters go?

I don't know, but its probably the same place all my lost packets end up. They're probably piling up around leaky servers all around the world...

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline princec

JGO Kernel


Medals: 343
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #6 - Posted 2004-03-17 07:51:59 »

They hang out in the back streets, along with my odd socks, plotting world domination.

Cas Smiley

Offline Breakfast

Senior Member




for great justice!


« Reply #7 - Posted 2004-03-17 13:42:38 »

Damn it! They're drawing out those plans with all my lost biros!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (18 views)
2014-07-29 18:09:19

Riven (13 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (31 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (41 views)
2014-07-23 21:16:32

Riven (28 views)
2014-07-23 21:07:15

Riven (29 views)
2014-07-23 20:56:16

ctomni231 (60 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!