SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Introduction to Java

» Start this Course
(Practice similar questions for free)
Question:

Structured programming - Rule of thumb

Author: Christian N



Answer:

•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