Jump to content
  • Advertisement
Sign in to follow this  
NightCreature83

Unmaintainable code

This topic is 979 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've just done something incredibly stupid.

 

I looked at more of the code.  OK, I was thinking along the lines of "it can't all be that bad, maybe this one is some kind of freak and the rest of it is normal".

 

It is all that bad.  I need to go lie down in a dark room now.

Share this post


Link to post
Share on other sites
Advertisement

I really hope overgrowth is doing better, because that code beyond terrible. If in If in If in If IF IF IF! wacko.png

 

For the first few seconds I was still looking for it, and thinking that it was a blank page, nope.

 

nuke it....it's the only way to be sure.

 

Nuking it won't be enough I'm afraid, NUKE IT TWICE DAMMIT!

Edited by Migi0027

Share this post


Link to post
Share on other sites

On the other hand, it shipped as part of a pretty damn successful indie title. On that score, not bad?

It certainly says a lot about the drive of Wolfire to finish their game.

Share this post


Link to post
Share on other sites

 

On the other hand, it shipped as part of a pretty damn successful indie title. On that score, not bad?

 

If that's the actual code the produced the title that shipped (and not some kind of joke), then like I said, I bow in awe. I find that code horrible, but as bad as the code may look... writing such a thing is one story, debugging and making it work it is yet another.

 

If the author really managed to turn this into a working product (and if it was successful, it must have been kind of functional), that was truly some great work. Now imagine what he could do otherwise...

 

The authors are these guys http://www.wolfire.com/

Share this post


Link to post
Share on other sites


There's probably a moral to this story, something about not letting the endless quest for perfect code get in the way of actually getting stuff done, but this really does lie at one extreme whereas the ideal place to be would be somewhere in the middle.

QFT.

Share this post


Link to post
Share on other sites


I note from their blog post announcing it's release: "The coding style is what you might expect from a self-taught high school student, so it could be a challenge to understand" so at least the author(s) acknowledge it's dreadfulness (if in a somewhat understated way),
Until I read that, I assumed that the code was produced by an automated tool, stitching together snippets laugh.png .... sad.png

 

On the bright side, their compilation times would be pretty fast!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!