PDA

View Full Version : Basic Syntax for Pseudocode?



nite owl
January 23rd, 2007, 01:29 PM
Hi just a quick question. Is there a universal syntax for Pseudocode(what's considered good practice?etc..), Or is it basically anything goes as long as its presented in a logical format?Thanks :)

runningwithscissors
January 23rd, 2007, 01:33 PM
It's called Python. :wink:
Programming in pseudocode.

milton1
January 23rd, 2007, 01:38 PM
Really, the whole point of pseudocode is that syntax does not matter as long as the logical structure is correct.

nite owl
January 23rd, 2007, 01:54 PM
Oh ok so one persons Pseudocode could look totally different to another persons?

lnostdal
January 23rd, 2007, 02:05 PM
Hi just a quick question. Is there a universal syntax for Pseudocode(what's considered good practice?etc..), Or is it basically anything goes as long as its presented in a logical format?Thanks :)

http://en.wikipedia.org/wiki/Pseudocode#Examples_of_pseudocode

I'd say keep it similar to C but remove all initialization, maintenance and syntax that does not prove a point or illustrate what you're trying to explain.

nite owl
January 23rd, 2007, 02:28 PM
Thanks everyone for your quick replys :)