OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Create a special purpose programming language, in XML, using state transitions

On 18 Oct 2013, at 14:50, David Lee wrote:

> ---- Micheal Kay
> State machines are essentially flowcharts: programming with GOTOs. 
> --------
> I am seriously curious.  Could you (or anyone) explain the fundamental difference between
> state machines, GOTO's and XSLT ?

Sounds to me like you have never written in a language like Fortran or Assembler!

apply-templates is essentially a polymorphic subroutine call. A subroutine call is a "GOTO X AND THEN COME BACK", which is fundamentally different from a plain GOTO X. Subroutine calls give you the basic capability of abstraction that's essential to writing complex programs, because the caller doesn't have to worry about the detail of the callee.

Michael Kay

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS