
Chris O'Halloran wrote:
I am looking for some thoughts/opinions on the merits of these two languages.
Over the years I book a few books on Java including Java in Nutshell Java Foundation Class Java for Scientist and Engineers
The latter being the most useful to me. However, I've never really got the hang of how it all works. I don't have a formal programming background
In recent times, I've come across Python and lately stumbled upon SciPy,ipython, NumPy and matplotlib.sourceforge.net. I've also noticed that Python has PyQt that enables you to use the Qt and poss KDE for widgets and gui interface. KDE is the desktop of choice for me and QT Designer are all "sudo apt-get install " away.
Both Python and Java are cross platform which a plus.
What I would like to do is put together small applications often using complex numbers and array for the engineering work that I do. Sometimes importing csv text files containing data from measurment devices.
I have always thought Java was the tool for this but lately, I've noticed how easy it is to make things work with Python. especially the interactive "try a line of code, did it do what you wanted?, no, try this, ah, that works"
I'm thinking that Python might provide the fast feed back approach that gets you enthused about actually coding than the steper learning curve of a more comprehensive language and not actually knowing where to start with a gui or even just how to get the IDE to use the classpath you want.
I'd be interested if people had thoughts or comments on the merits.
Hi Chris, Are the applications you are writing for just you to use or are they for others too? The reason I ask is that if they are just for you then it would probably be far less effort to use a higher level language/system like Octave or Maxima. However those don't lend themselves easily to creating a gui. If you really need a gui then you will probably end up spending the majority of your programming time wrestling with it rather than getting the answers you need. For a cross platform gui FLTK might also meet your needs, it is pretty easy to learn and has a Python wrapper, but I've only used it in C++ so I can't comment on how easy that is. Glenn -- Glenn Ramsey <glenn(a)componic.co.nz> 07 8627077 http://www.componic.co.nz