Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Java game linking to a perl script

by exussum0 (Vicar)
on Jul 14, 2005 at 16:15 UTC ( #474935=note: print w/replies, xml ) Need Help??

in reply to Re^2: Java game linking to a perl script
in thread Java game linking to a perl script

What would using an embedable language gain that loading the various values, answer keys, questions etc.. that can't be done using something like XML, or just key-value pairs?

Btw, I prefer Velocity. Yes, it's a template language, but you can write programs in it. Albeit very simple ones that can't do much, "harm."

Give me strength for today.. I will not talk it away..
Just for a moment.. It will burn through the clouds.. and shine down on me.

  • Comment on Re^3: Java game linking to a perl script

Replies are listed 'Best First'.
Re^4: Java game linking to a perl script
by straywalrus (Friar) on Jul 14, 2005 at 23:20 UTC
    I should think that there would be rather little to gain from either method; however, My purpose in recommending Sleep was to firstly offer Yet Another Answer that the poster may not have been aware of and secondly offer something that is rather robust and can be replaced easily. With Sleep, you could simply rewrite the script and use the existing engine. For me, this would be a rather large positive. XML is Yet Another Embedded Language and key-value pairs are fine, but if the poster wishes to change something, then this has to be reworked. Sleep (or any other language, I simply choose the 'hot new thingie') allows for some abstraction, which I find nice in certain situations.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://474935]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2020-04-09 11:01 GMT
Find Nodes?
    Voting Booth?
    The most amusing oxymoron is:

    Results (47 votes). Check out past polls.