3 ms·
You confuse declarative and functional. Declarative is when the sequence of execution is not related to the order of operators in the program text, but is deriv
by mD5pPxMcS6fVWKE 6y ago
You confuse declarative and functional. Declarative is when the sequence of execution is not related to the order of operators in the program text, but is derived at run time. The animation, where sequence of events is known exactly, is the poorest example for declarative programming.
- chmod775 6y ago> You confuse declarative and functional. No I'm not. Also functional programming is declarative programming (but not the other way around). If your code is supposed to be functional, it is also declarative. I was trying to freely guess what your incomplete example was supposed to do. Maybe I was wrong, but then you didn't provide much to work with. > The animation, where sequence of events is known exactly, is the poorest example for declarative programming. This wasn't a competition to come up with textbook examples of declarative programming.