Unformatted text preview: Do not declare variables in pseudocode unless it is critical to your algorithm. Comments in line are very appropriate if they aid in understanding the pseudo-code. Don’t say words such as Create an NLR Itrerative Method. Merely state: NLR Scan – Iterative (…. Parameters )) Don’t use data names such as d, x, z. This means nothing. Recursive routines: simply cay Call NRL routine (parameters) from within the NRL pseudocode. Programmer will note that it is recursive…. Grammar grammar grammar!! Use apostrophe’s!! If something is possessive, then so state. Like print current node’s data vice print current nodes data. The former is possessive and desired; the latter is plural! Clearly this is not the intent. Make it right! Any abbreviations must have keys. LC is current.left? Ech!...
View Full Document
- Summer '08
- Subroutine, NRL, Grammar Grammar Grammar, NLR Itrerative Method, print current node, data vice print