Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

Introduction to Java

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

Structured programming - Rule of thumb (2)

Autor: Christian N



Respuesta:

• Subroutines communicate with each other exclusively via parameters and function values (or via class and instance variables – see later) and not via shared, global data structures • A subroutine should also be documented as precisely as possible (ideally formally), in particular: • the effect mentioned above (»postcondition of the subroutine«) • the conditions that must be met for the subroutine to be able to achieve this effect (»precondition of the subroutine«)


0 / 5  (0 calificaciones)

1 answer(s) in total