diff --git a/src/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html b/src/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html index fa353b8..3a31f24 100644 --- a/src/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html +++ b/src/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html @@ -134,9 +134,9 @@ Let’s begin to write code

Think

After some times, I just stopped to work. Tell myself “it is enough, now, I must finish it!”. I took a sheet of paper, a pen and began to draw some trees.

I began by make by removing most of the verbosity. I first renamed <item name="Menu"> by simpler name M for example. I obtained something like:

-

The source tree

+The source tree

and

-

The destination tree

+The destination tree

Then I made myself the following reflexion:

Considering Tree Edit Distance, each unitary transformation of tree correspond to a simple search and replace on my xml source2. We consider three atomic transformations on trees: