I think the javascript version is easier than the python one, and its almost guaranteed that every computer has a javascript interpreter aka: Web Browser, I think the javascript version would have the highest chance of being able to run on the most machines without any installations.
On Thu, Jun 12, 2008 at 8:44 AM, Barry Roberts <[EMAIL PROTECTED]> wrote: > > Kirk Cerny wrote: >> >> Is there an easier way than this in Java? >> > > I'm a java programmer, but at a PLUG meeting I would just: > > [EMAIL PROTECTED] ~]$ python >>>> import random, os >>>> random.seed(os.getpid()) >>>> random.randint(0,10) > 2 > > > Seems easier than any compiled language. > /* > PLUG: http://plug.org, #utah on irc.freenode.net > Unsubscribe: http://plug.org/mailman/options/plug > Don't fear the penguin. > */ > /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
