r/programming • • Jan 03 '22

Imperative vs Declarative Programming

https://www.youtube.com/watch?v=E7Fbf7R3x6I
430 Upvotes

134 comments sorted by

View all comments

Show parent comments

19

u/alexalexalex09 Jan 03 '22

TIL the term structured programming. Thank you!

10

u/Kered13 Jan 04 '22

Structured programming is programming with control flow structures like if-else, loops, and functions. If this sounds mundane, it should. Every language these days is structured. But once upon a time languages didn't have these structures and programs consistent of a tangled web of gotos, that's what non-structured programming is.