Re:What if you couldn’t program with loops?
by thrownaway954 on Monday July 15, 2019 @10:24AM
(#20441097)
OMG!!! I remember writing code generators for ColdFusion in XQuery. Total mind shift and, dare I say, ALOT OF FUN!!! It's amazing what XQuery did.
With the sequence being the root datatype, it makes loops rather implicit. You can write
and it will format the name of zero, one or many persons.Working with XQuery makes you think differently about iteration and shows how much plumbing we normally use for it.