Tip of the Day: Pseudocode
The word “Pseudo” comes from Greek and it means “lying” or “false”, in other words something superficially appears to be one thing, but it is something else.
In coding words, it is writing code that is not a working code.
Think of Pseudocode as your blackboard or your brainstorming before writing actual code. The cool thing of Pseudocode is that it does not adhere to a specific syntax.
//Move character from A to B using transform
then you would translate this into real code:
//If the character can run, then do something
This would translate to:
If(canRun == true)
You can also use Pseudocode when writing a tutorial, instead of feeding the reader with the exact code, you can write him a Pseudocode that he can follow instead of just copying the pasting the actual code. This would force the reader to actually learn something.
We should really pick up the habit of writing pseudocode more often.