Content deleted Content added
naive? |
→What language are the algorithms in?: no index or test in the loop |
||
Line 503:
==What language are the algorithms in?==
There are algorithms in the article which appear to be in some computer language or logical/mathematical notation. What is the language? Its syntax differs from programming languages I studied back in the day. It is not self-evident and self-explanatory. A link to some article dealing with the conventions and assumptions of the language would be helpful. None of the examples in [[Algorithm]] or in [[Algorithm examples]] are quite like the ones here, whose syntax appears to require they start with "DEF" and end with "RETURN.'' These algorithms have do loops which do not include an index telling it how many times to execute the statement in the loop (such as "for i = 1 to n", or a test at the end of each loop execution to determine if all the data items have been processed. [[User:Edison|Edison]] ([[User talk:Edison|talk]]) 18:01, 26 May 2014 (UTC)
==Why "naive?"==
|