guides:programstyle:functions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guides:programstyle:functions [2020/08/04 15:45] – [Function Cohesion] wikiadmin | guides:programstyle:functions [2022/08/02 11:59] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 66: | Line 66: | ||
| In the second case, the program should consist | In the second case, the program should consist | ||
| - | ===== The main function | + | ===== The main Function |
| + | The main function for most advanced programs should read like an algorithm to solve the main problem. | ||
| + | |||
| + | A single line main function is not acceptable. | ||
| + | |||
| + | |||
| + | ===== An Example ====== | ||
guides/programstyle/functions.1596555931.txt.gz · Last modified: 2022/08/02 11:59 (external edit)