468,510 Members | 1,797 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,510 developers. It's quick & easy.

Name of a programming/development style

markmcgookin
648 Expert 512MB
Hi Folks,

This has really been annoying me, I read somewhere in my VB book about a type of development, like where you wonder if something is passing a value to another element of your program, so you chuck in a message box in the other element to display this value, if it does, you know it works and you delete it. Can anyone tell me what this technique is called, where you produce dummy sections of programs to test functions then remove them?

It's for a chapter in my dissertations, and I can't find where I read it! haha.

Cheers!
Jan 16 '07 #1
20 1283
Ganon11
3,652 Expert 2GB
Perhaps debugging? I know I've done it a lot, but I never knew there was a specific term for it.
Jan 16 '07 #2
markmcgookin
648 Expert 512MB
Perhaps debugging? I know I've done it a lot, but I never knew there was a specific term for it.
No thats not it, it's annoying, it'd be a great sentance on my dissertation "I adopt a xxx development style by doing ... " It'l probably occour to me as soon as I hand in the 25,000 word paper!
Jan 17 '07 #3
markmcgookin
648 Expert 512MB
No thats not it, it's annoying, it'd be a great sentance on my dissertation "I adopt a xxx development style by doing ... " It'l probably occour to me as soon as I hand in the 25,000 word paper!
Still havent figured this out....
Jan 24 '07 #4
Banfa
9,056 Expert Mod 8TB
Unit Testing? http://en.wikipedia.org/wiki/Unit_testing

or

Taking a shot in the dark :D
Jan 24 '07 #5
Motoma
3,237 Expert 2GB
I usually call this Tracing.
Jan 24 '07 #6
markmcgookin
648 Expert 512MB
I usually call this Tracing.
Neither of them are the one from the book, but I think I will just use one of them instead. (i.e. "I have used a development method called Tracing, or 'Unit Testing', to ensure various parts of my systems are fully functional..."

Cheers folks!
Jan 24 '07 #7
DeMan
1,806 1GB
Stubbing perhaps
Jan 24 '07 #8
ronverdonk
4,258 Expert 4TB
Neither of them are the one from the book, but I think I will just use one of them instead. (i.e. "I have used a development method called Tracing, or 'Unit Testing', to ensure various parts of my systems are fully functional..."

Cheers folks!
Your description refers to "Debugging and Tracing", which is not a method, but merely a tool to verify the workings of your code and mainly used for error determination.

Tracing and Unit Testing are definitely not development methods!

Tracing is just what it says: tracing the working of a program, variables, settings, storage, etc.

Unit testing is the first step in a real code test cycle, where you simply verify that a basic unit of code is working according to specs. This is usually followed by Function testing, Component testing, Quality testing, Integration testing, etc. There are a lot more tests, too many to list here.

Ronald
Jan 25 '07 #9
markmcgookin
648 Expert 512MB
I am so tempted to look this up tomorrow, I would have a few hours to kill if someone would have replied to my post earlier about SQL Server CE and VB (Here ), but if not I will be spending my day *yawn* writing a simple SQL Server CE Database and Some silly program to search it. *looks into sky* if only someone already had one.... haha.

Seriously though, if I havent remembered it, I will have to look it up, it's become too big a thing now. I think it started with "G"
Jan 26 '07 #10
r035198x
13,262 8TB
I am so tempted to look this up tomorrow, I would have a few hours to kill if someone would have replied to my post earlier about SQL Server CE and VB (Here ), but if not I will be spending my day *yawn* writing a simple SQL Server CE Database and Some silly program to search it. *looks into sky* if only someone already had one.... haha.

Seriously though, if I havent remembered it, I will have to look it up, it's become too big a thing now. I think it started with "G"
Logging?

Have a look at this before you finish that chapter on how you tested your program.
Jan 26 '07 #11
bartonc
6,596 Expert 4TB
Logging?

Have a look at this before you finish that chapter on how you tested your program.
GREAT link. I bookmarked it.
Jan 26 '07 #12
markmcgookin
648 Expert 512MB
omfg... I found it.

It's totally not what I thought it was, and I don't know if it is so mcuh of a development style, as a technique used during development.

So.... who wants to know eh?
Feb 21 '07 #13
Motoma
3,237 Expert 2GB
omfg... I found it.

It's totally not what I thought it was, and I don't know if it is so mcuh of a development style, as a technique used during development.

So.... who wants to know eh?
Don't keep us waiting...hurry up and tell us!
Feb 21 '07 #14
markmcgookin
648 Expert 512MB
Don't keep us waiting...hurry up and tell us!
Hehe, the name I was looking for was "Desk Checking"

Which is essentially stepping through each level of your algorithms, and creating a simple output at each stage.

i.e.

Function1 passes data to F2, which modifies it, and then passes this to F3 which then stores the data.

So if the data is not being stored place msgboxes displaying the data where there are *s

* Function1 passes data to F2*, which modifies it*, and then passes this to F3* which then stores the data.

So when you see where the data is stopping, you can find the problem, debug it, and then delete your message boxes, and ta da, your program is fixed.
Feb 22 '07 #15
r035198x
13,262 8TB
Hehe, the name I was looking for was "Desk Checking"

Which is essentially stepping through each level of your algorithms, and creating a simple output at each stage.

i.e.

Function1 passes data to F2, which modifies it, and then passes this to F3 which then stores the data.

So if the data is not being stored place msgboxes displaying the data where there are *s

* Function1 passes data to F2*, which modifies it*, and then passes this to F3* which then stores the data.

So when you see where the data is stopping, you can find the problem, debug it, and then delete your message boxes, and ta da, your program is fixed.
If only debugging was as easy as that.
Feb 22 '07 #16
Banfa
9,056 Expert Mod 8TB
If only debugging was as easy as that.
Generally for most bugs it is especially with a symbolic debugger that removes the need to add and remove print statements.

Bugs that are not this easy to find can generally be categorised, i.e. race condition, memory corruption.

There are alternate methods to approach these problems too.
Feb 22 '07 #17
markmcgookin
648 Expert 512MB
Generally for most bugs it is especially with a symbolic debugger that removes the need to add and remove print statements.
...

There are alternate methods to approach these problems too.
Yeah this is all very true, I was looking for this term for an academic paper I am writing though, I had come accross it in the past, but just could not remember the term.

Bugs that are not this easy to find can generally be categorised, i.e. race condition, memory corruption.
Memory corruption.... argh! The only thing that ever goes wrong with a program that isn't 100% my fault! lol
Feb 22 '07 #18
Motoma
3,237 Expert 2GB
Hehe, the name I was looking for was "Desk Checking"

Which is essentially stepping through each level of your algorithms, and creating a simple output at each stage.

i.e.

Function1 passes data to F2, which modifies it, and then passes this to F3 which then stores the data.

So if the data is not being stored place msgboxes displaying the data where there are *s

* Function1 passes data to F2*, which modifies it*, and then passes this to F3* which then stores the data.

So when you see where the data is stopping, you can find the problem, debug it, and then delete your message boxes, and ta da, your program is fixed.
*puts down his shovel after digging up this old thread*
Do you have a Wikipedia link for us?
May 23 '07 #19
DeMan
1,806 1GB
We still on about the shovel Doug?
May 23 '07 #20
Banfa
9,056 Expert Mod 8TB
This looks like a good place to start.
May 23 '07 #21

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

52 posts views Thread by Tony Marston | last post: by
1 post views Thread by Dave Kuhlman | last post: by
3 posts views Thread by Siddharth Jain | last post: by
3 posts views Thread by Raed Sawalha | last post: by
6 posts views Thread by Ricky W. Hunt | last post: by
4 posts views Thread by Sreekanth | last post: by
11 posts views Thread by arnuld | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.