Re: Converting code from NetLogo
- From: "John W. Kennedy" <jwkenne@xxxxxxxxxxxxx>
- Date: Thu, 22 Mar 2007 13:08:26 -0400
Max wrote:
Is there an easy way to convert code from NetLogo to Java? If so, what
is it? I've been using NetLogo for a few years, and would alike to be
able to re-use at least some of my old code in Java.
No. They are nearly as different as Shakespeare and Algebra.
Moreover, Java is a much worse language than NetLogo to write the sort of program that NetLogo is designed for. Why buy a forest and cut down the trees in it to build your house with when you can buy pre-cut lumber?
However, because NetLogo is written in Java, and they provide an API, you can use Java /with/ NetLogo, if you need to write a program that combines the sort of thing that NetLogo does with some bits that are awkward or impractical in that language.
--
John W. Kennedy
"Give up vows and dogmas, and fixed things, and you may grow like That. ....you may come to think a blow bad, because it hurts, and not because it humiliates. You may come to think murder wrong, because it is violent, and not because it is unjust."
-- G. K. Chesterton. "The Ball and the Cross"
* TagZilla 0.066 * http://tagzilla.mozdev.org
.
- Follow-Ups:
- Re: Converting code from NetLogo
- From: Max
- Re: Converting code from NetLogo
- References:
- Converting code from NetLogo
- From: Max
- Converting code from NetLogo
- Prev by Date: Re: Strange GUI freezing TrayIcon + PopupMenu, please help
- Next by Date: Re: Converting code from NetLogo
- Previous by thread: Converting code from NetLogo
- Next by thread: Re: Converting code from NetLogo
- Index(es):
Relevant Pages
|