Question:
Structured programming - Rule of thumb
Author: Christian NAnswer:
•No »free« jump statements (»Goto considerd harmful« – Edsger Dijkstra, 1968) •Each loop has exactly one entry and exactly one exit point (➝ no break) • Statements should have exactly one effect (no »side effects«) • In multiway branches (switch) always exactly one path should be traversed (➝ no sequential continuation, always specify default clause)
0 / 5 (0 ratings)
1 answer(s) in total
Author
Christian N