the difference is that in your case the vdb subtraction is done in one go while in the doc example the air bubbles are subtracted one by one while feeding the intermediate result into the for loop every time. Its not so much of a tutorial of how to create a setup to subtract spheres from a box but showcasing some useful workflows with for loops that were pretty difficult to achieve prior to the current way to do loops in vops and sops.
frostfx the difference is that in your case the vdb subtraction is done in one go while in the doc example the air bubbles are subtracted one by one while feeding the intermediate result into the for loop every time.
I know, but what's the benefit of "subtracting one by one" over "subtracting in one go"?
The above is a simple example, but if you latch on to this, it's an absurdly powerful system to give you precise and high level control over your copies.