Nepedia
Back to Discover
Developing Reader
💻

Declarative programming

technology Maturity 7-9 Next article →

Computers use special rules to work. Some rules tell the computer what to do. These rules do not list every step. Instead, you just say what you want.

This is like telling a friend to make a snack. You do not say every tiny movement. You just ask for the snack. The computer figures out the rest.

Some tools use these rules. One tool helps show things on a web page. It says what should appear. It does not say how to draw it.

Other tools use math to solve problems. They use facts and rules to find answers. This can make hard jobs easier for the computer.

It is a smart way to talk to machines.

117 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

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.