Jump to content
Sign in to follow this  
  • entries
    195
  • comments
    198
  • views
    104251

Paranoia

Sign in to follow this  
SiCrane

126 views

Maybe it's wrong, but I get suspicious when a relatively non-trivial piece of code works flawlessly the first time. I think things like: maybe I wrote the test cases wrong. Or when I'm in uber geek mode, something more like: "Great, I just rolled a critical failure writing this code and now it's going to blow up at the worst possible moment." (Because in a RPG if you roll a critical failure building something, it looks perfect with every test you can throw at it and fails at the worst possible moment later. Or it explodes and kills you right then and there, but the great GM in the sky wouldn't be that soft on me.)

In any case, for every test I can throw at it, the VirtualAlloc() code is working perfectly and happily passing out one megabyte chunks without flaw. Very suspicious indeed. I bet I screwed up the multithreaded protection and it's going to screw up in subtle irreproducable ways later.
Sign in to follow this  


2 Comments


Recommended Comments

The code is 100% perfect! I GUARANTEE IT! It will *never* fail. Great job.. You are the best programmer ever and the code you wrote.. pure genius. Few things in life will ever be so flawless. Enjoy it!

muahahahaha! =)

---
Michael Tanczos

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!