🧭Programming Paradigm
Also known as Paradigm, Coding Style
A way to shape your code. One style uses objects; one uses small functions.
Think of it like
Think of it like ways to tell a story. You can tell it as a diary, a letter or a play.
Example
Emma writes a game in Python. She uses objects for the players and small functions for the maths, two styles in one program.
Why it matters
Knowing the main styles helps you read other people's code and pick the right shape for a job.
Definition
Common mistake
Key takeaways
- 1A way of thinking. How code is shaped.
- 2Several styles. Objects, functions, steps.
- 3Mix them. Most languages allow it.