nus-cs2113-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Confusing psuedocode of a loop #1366

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.


I found the pseudocope of a loop given to be confusing. I'm not sure what is meant by i (arrow) 0

image.png


[original: nus-cs2113-AY2021S2/pe-interim#1366] [original labels: severity.Medium type.DocumentationBug]

gerardtwk commented 3 years ago

Team's Response

"i <- 0" is the standard pesudo code style of initializing a variable, and this style is adopted by most research papers.

Duplicate status (if any):

--