4 ms·
In a very twisted sense even C could be described as a declarative language. C code describes the observable effects under the abstract machine model, and the c
by zokier 8y ago
In a very twisted sense even C could be described as a declarative language. C code describes the observable effects under the abstract machine model, and the compiler tries its best to generate machine code that matches those effects. But more importantly the compiler is completely free to ignore the exact "imperatives" that the programmer provides, as long as the defined outcome is the same.