cours/paradigme programmation structurée.md
Oscar Plaisant fb7eb57cf3 update
2024-03-29 20:11:44 +01:00

2.8 KiB

aliases
aliases
programmation structurée

up:: paradigme de programmation #informatique

[!definition] programmation structurée La programmation structurée est un paradigme de programmation qui consiste en une méthode pour résoudre des problèmes. étant donné un problème, on utilise deux étapes pour le résoudre :

  1. raffinement progressif
    • top-down design
    • découper en sous-problèmes simples
    • répéter jusqu'a ce que les sous-problèmes soient assez simples pour être implémentés directement
  2. remonter les niveaux d'abstraction (cacher les détails)
    • bottom-top
    • Implémenter les sous-problèmes, des plus concrets aux plus abstraits
    • encapsuler tous les détails d'implémentation : cacher les détails ^definition

Citations

[!cite]+ The paradigms of programming - Page 1 In the first phase, that of top-down design, or stepwise refinement, the problem is decomposed into a very small number of simpler subproblems.

[!note] Notes programmation structurée: étape 1 : top-down, décomposition du problème en sous-problèmes très simples. ^WUIEE8HUaWWITR642g5383243p1

[!cite]+ The paradigms of programming - Page 1 In the first phase, that of top-down design, or stepwise refinement, the problem is decomposed into a very small number of simpler subproblems.

[!note] Notes programmation structurée: étape 1 : top-down, décomposition du problème en sous-problèmes très simples. ^WUIEE8HUaWWITR642g5383243p1

[!cite]+ The paradigms of programming - Page 1 The second phase of the structured programming paradigm entails working upward from the concrete objects and functions of the underlying machine to the more abstract objects and functions used throughout the modules produced by the top-down design.

[!note] Notes programmation structurée: étape 2: remonter vers des concepts de + en + abstraits. ^48AUNBVNaWWITR642g5383243p1

[!cite]+ The paradigms of programming - Page 2 This approach is referred to as the method of levels of abstraction, or of information hiding.

[!note] Notes information hiding (cacher l'information) : approche pour la programmation structurée : encapsulation des détails dans des abstractions utiles et manipulabes ^2AQEQRR4aWWITR642g5383243p2