Programming Styles
A programming style describes how a software problem is mapped out and how its solution is decomposed and then modeled by the target language. We have to model a solution, since useful systems can’t be entirely held in the mind of a single developer. The programming style shapes how we split a project up into manageable pieces; it is the design paradigm used to express your code’s intent.
Different programming languages support different programming styles. Some are tailored to a specific one; some cater for a number of them. The programming styles fall into two main camps: imperative and declarative.
Imperative (or procedural ) languages allow you to specify the explicit sequence of steps to follow to produce the program’s output. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access