Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Java game linking to a perl script

by exussum0 (Vicar)
on Jul 14, 2005 at 16:15 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-26 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found