3 ms·
> 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 su
by 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.