Jump to content

Home

Dual saber Tutorial


Kyle098

Recommended Posts

When I said "veteran coders" I didn't really mean Jedi Knight or Quake coders, I meant veteran programmers in general. Desk-checking is a process that used to be standard in the programming industry for finding logic errors (I still swear by this method). Visual Studio has pretty much gotten rid of the need to do any desk-checking nowadays, but back in the day if you couldn't find a logic error in your app you would desk-check it. When you desk-check your app, you get some paper, a pencil, and a copy of the code to be checked. You start at the beginning of the app (or the particular function giving you problems if you can narrow it down). go through the code line by line and draw little boxes on the paper to hold the name and value of variables as they are created. When a variable's value is changed, update the value held in your box. When it comes to math, you do the math long-hand and eventually you will come across your logic error. Like I said, Visual Studio has all but eliminated the need for desk-checking, but if you're stumped with a logic error, this is still the best way to find it. This is also a huge pain in the a$$ and can take forever when your doing a really large app.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...