Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executable code or not #9

Open
KitWallace opened this issue Jan 29, 2019 · 3 comments
Open

executable code or not #9

KitWallace opened this issue Jan 29, 2019 · 3 comments

Comments

@KitWallace
Copy link
Owner

Pros and cons for having executable code

Pro:
It keeps us honest - I keep finding example code which has been posted which doesn't compile or doesn't work
Its useful to see how a script works especially if it is interactive

Con The same code is in the exIstdb and in the wikibook and the versions will inevitably drift apart. Likewise output has be be copied into the book. An environment in which only one copy of the code exists ( the exist demo and http://kitwallace.co.uk/Book/ using util:eval avoid this)
The code has to reside on a server somewhere (presntly on my personal server ) and this is not sustainable

@lguariento
Copy link

Uhm... is the code currently on your personal server? Are we looking for something more sustainable?

@KitWallace
Copy link
Owner Author

KitWallace commented Jan 30, 2019

Yes that's correct - the server handles multiple websites so its not going away any time soon, but it is a longer term concern.

@KitWallace
Copy link
Owner Author

Duncan Paterson: The XQuery Fiddle resource by Martin Honnen is perhaps more what people are used to coming from other languages. http://xqueryfiddle.liberty-development.net/ This is built on Saxonica's XQuery 3.1 and contains a large number of XQuey 3.1 tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants