solid-docs icon indicating copy to clipboard operation
solid-docs copied to clipboard

Wording in Declarative programming introduction

Open LeoniePhiline opened this issue 2 years ago • 0 comments

Declarative programming refers to the practice of writing computer code that explains what your computer should do rather than how to accomplish it.

Source: https://docs.solidjs.com/guides/foundations/thinking-solid

My proposal is it replace "what your computer should do" with "what your computer should accomplish".

The phrase "what your computer should do" is ambiguous and could just as well describe imperative programming.

Declarative programming is specifically not about "what to do":

Declarative programming lets you declare the desired outcome (accomplishment), leaving the "how to accomplish it" or in other words "what to do", up to the computer.

LeoniePhiline avatar Jul 17 '23 10:07 LeoniePhiline