2 ms·
There's already logic programming and more generally declarative programming, which sort of have the features you describe (the programmer describes what is wan
by schoen 11y ago
There's already logic programming and more generally declarative programming, which sort of have the features you describe (the programmer describes what is wanted, but not necessarily how to find or do it).
https://en.wikipedia.org/wiki/Logic_programming https://en.wikipedia.org/wiki/Logic_programming
https://en.wikipedia.org/wiki/Declarative_programming https://en.wikipedia.org/wiki/Declarative_programming
It's clear that these paradigms can be easier for solving certain kinds of problems. For example, they're very good for solving puzzles like Sudoku; instead of writing a full-fledged Sudoku solver, you can, in some of these environments, basically just describe what would constitute a solution to your problem, and then the programming environment can find one for you.