• Want to help us with this year's BoS Trials?
    Let us know before 30 June. See this thread for details
  • Looking for HSC notes and resources?
    Check out our Notes & Resources page

Internal and Intrinsic Documentation (1 Viewer)

honky tonk

in Miracle World
Joined
Dec 26, 2002
Messages
1,032
Location
Newcastle
Gender
Male
HSC
2003
I don't have good definitions of these in my notes, what is the difference between the two? Also, what are some examples of each?

Thanks a bunch. :)
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by honky tonk
I don't have good definitions of these in my notes, what is the difference between the two? Also, what are some examples of each?

Thanks a bunch. :)
LOL!! man... how about my teacher continuously said Intrinsic documentation is commenting, and we took that for about 2 yrs, then when i was reading the sam d text book night before trials, i noticed intrinsic, was in relation to how u structure code apparently. for example good indentation. And also it refers to the meaningful variable naming, this falls under the Source code documentation side of things
 
Last edited:

ezzy85

hmm...yeah.....
Joined
Nov 4, 2002
Messages
556
Gender
Undisclosed
HSC
N/A
Intrinsic documentation is a form of internal documentation. Its referring to using useful variable names, highlighting keywords, anything affecting the actual code. Internal doc is the comments made in the source code.
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Comments to describe what the code does. Should be used sparingly. Used for complex codes.

Not for codes where you got

PRINT "Hello" `It prints hello

Because it's pretty damn obvious :D

Intrinsic - Meaningful variables names, Indenting etc.. You know all the stuff that makes the code look easier to read
 

fatmuscle

Active Member
Joined
Jul 6, 2002
Messages
3,707
Location
Hornsby
Gender
Male
HSC
2001
Originally posted by Ragerunner
Intrinsic - Meaningful variables names, Indenting etc.. You know all the stuff that makes the code look easier to read

that's what I thought.

like if you're storing a variable that holds an 'age'

you wouldn't use
int x;

but something more like
int age;
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Another good one would be using arrays. You don't necesarrily need to index 0-100 if you want to show e.g. rainfall

Instead of

Rainfall(5) = 1000000m

You could have

Rainfall(1995) = 1000000m

In which a meaningful array was used to describe the year.
 

yorkyorkxp

New Member
Joined
Aug 6, 2003
Messages
8
Internal Documentation:
Any form of documentation that exits in the code of the program including Intrinsic Documentation and remarks (to help programmers) and Online Documentation (to help users).

Intrisic Documentation:
A form of documentation that exists in normal code because it needs to be there to make the code readable. It includes use of logical variable names, indenting and capitalisation of reserved words.
 

-X-

Member
Joined
Aug 10, 2003
Messages
481
Gender
Undisclosed
HSC
N/A
Originally posted by yorkyorkxp
Internal Documentation:
Online Documentation (to help users).
So internal documentation can also mean the help file in the program?
 

Fosweb

I could be your Doctor...
Joined
Jun 20, 2003
Messages
594
Location
UNSW. Still.
Gender
Male
HSC
2003
Is it a help file so much as things like balloon help/tooltips...?
 

-X-

Member
Joined
Aug 10, 2003
Messages
481
Gender
Undisclosed
HSC
N/A
No i mean the actual help file were u click on Help > "Help and Support".
Ok so that would be external documentation? And i assume balloon help would be internal? And what about "Online Documentation", shouldn't that be external?
 

Skywalker

Member
Joined
Aug 10, 2003
Messages
337
Gender
Undisclosed
HSC
N/A
Originally posted by -X-
No i mean the actual help file were u click on Help > "Help and Support".
Ok so that would be external documentation? And i assume balloon help would be internal? And what about "Online Documentation", shouldn't that be external?
"Help ---> Help and support" is online documentation. Balloon help is not internal, it's also online. External documentation would be user manuals, reference charts etc.
 

-X-

Member
Joined
Aug 10, 2003
Messages
481
Gender
Undisclosed
HSC
N/A
But yorkyorkxp is "online documentation" is internal documentation. Read his post.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top