Nepedia
Back to Discover
Independent Reader
💻

Programming paradigm

technology Maturity 5-7 Next article →

People use different ways to write computer code. We call these ways programming paradigms. A paradigm is a way to think about a program.

Programming paradigms
Programming paradigms

It helps a person plan how the code will work. Some languages use only one paradigm. Other languages can use many different ones.

One way is called imperative programming. This way gives the computer a list of steps. It tells the computer exactly what to do and when to do it. Another way is called declarative programming. In this way, you describe what you want to see. You do not tell the computer every step to get there. The computer finds the best way to do the work.

Programming paradigms
Programming paradigms

There is also object-oriented programming. This way organizes code into objects. These objects hold both data and actions. Programs can then act like a set of objects talking to each other. Some people also use functional programming. This treats a program like a series of math tasks. It avoids changing data while the program runs. These different ways help people build many kinds of tools.

178 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Programming paradigms.svg
Programming paradigms.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.