1. A computer program written in a declarative programming language where the programmer specifies what the desired result should be rather than how to achieve it
SQL is a declarative program that allows users to query databases by describing the desired output without detailing the retrieval steps.
SQL é um programa declarativo que permite aos usuários consultar bancos de dados descrevendo a saída desejada sem detalhar as etapas de recuperação.
2. Code that focuses on describing the properties and constraints of the problem rather than writing step-by-step instructions
In a declarative program, you tell the system what you want, not how to compute it.
Em um programa declarativo, você diz ao sistema o que deseja, não como calculá-lo.
This is a specialized technical term used in computer science and software development. It is consistently used across both Brazil and Portugal in academic and professional contexts. The concept represents a paradigm shift in programming philosophy that became prominent with the rise of functional and logic programming languages in the late 20th century.