3 ms·
And the power doesn't stop there, with XSLT you have a powerful macro system too!
by jefffoster 18y ago
And the power doesn't stop there, with XSLT you have a powerful macro system too!
- cabalamat 18y agoGood point. Hey, aren't Lisp s-expressions just a less powerful form of XML nested structures? I think Lisp should be re-written in XML. So this: (defun factorial (n) (return (if (< n 2) 1 (factorial (-1 n))))) Would become: <!DOCTYPE xmllisp> <program> <function name="factorial"> <parameters>n</parameters> <return> <if><condition>n < 2</condition> <iftrue>1</iftrue> <iffalse> <functionCall name="factorial">n - 1</functionCall> </iffalse> </if> </return> </function> </program> Which I think we can all agree makes much more sense.