The Importance of Pseudocode (Game dev Day 7)
Jul 19, 2021
One underutilized aspect of coding with C# is the use of pseudocode. Pseudocode is a fancy term for notes inside the code. These lines do not actually do anything to the script, but can serve as guidelines or footnotes for your code.
To create pseudocode, simply add // before the text you wish to input. The text should turn green.
If you are struggling to find the logic to complete a coding task, try writing out what you are trying to achieve in pseudocode, then breaking down the English into commands in C#.