3 ms·
The html code is a declarative definition of a webpage. The internal representation as a DOM tree is just the imperative implementation on the backend. A recip
by aatd86 4y ago
The html code is a declarative definition of a webpage.
The internal representation as a DOM tree is just the imperative implementation on the backend.
A recipe is a description of the steps to the end result.
So it's imperative.
Here instead of DOM nodes, you probably have utensils and ingredients on which you apply operations (grab, heat, pour oil etc...)
The end goal is not the description of the recipe itself. It's the meal that you get once you have followed the steps to completion.
- galaxyLogic 4y agoBut my end-goal could be finding the recipe, maybe I am a recipe collector.