473,395 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1652
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,065 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,065 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,065 Expert Mod 8TB
This looks like a good place to start.
May 23 '07 #21

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

Similar topics

52
by: Tony Marston | last post by:
Several months ago I started a thread with the title "What is/is not considered to be good OO programming" which started a long and interesting discussion. I have condensed the arguments into a...
1
by: Dave Kuhlman | last post by:
I'd like to learn more about this style of programming in Python. In this style or pattern, a high level class is given an instance (or a class from which it creates an instance), then uses that...
3
by: Siddharth Jain | last post by:
Hello, Could someone please tell me the history of GUI programming for windows. In the early days, we had to write 100s of lines of code to make a simple dialog box. Then along came MFC to...
3
by: Raed Sawalha | last post by:
I've been developing since year ago , I noticed that I developed my programming skills in first 6 months then , my coding style and strategy been the same, so what you advice me to develop my...
6
by: Ricky W. Hunt | last post by:
It's dawning on my a lot of my problems with VB.NET is I'm still approaching it in the same way I've programmed since the late 70's. I've always been very structured, flow-charted everything, used...
4
by: Sreekanth | last post by:
Hi all, I have implemented a timing out version of fgets function call. I am pasting the entire code below. I have following doubts: 1. The code which I have written does it follow standard C...
11
by: arnuld | last post by:
hello all, 1st of all, i searched last 12 years archives of comp.lang.c++ because i have some problems. i got some help but not satisfied as i did not get solution specific to my problem. In the...
31
by: Peter Michaux | last post by:
Hi, I want to know the name of an object's constructor function as a string. Something like this <script type="text/javascript"> function Foo(){}; var a = new Foo(); alert('"' +...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.