Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

Is Java a `better` language than LotusScript

By Andrew Pollack on 10/05/2003 at 11:02 AM EDT

A really great comment someone made recently, was to point out through my thick skull that Java != j2ee. Of course I knew this, but at the same time it wasn't really part of my working thought. I've been lumping them together. Meanwhile, I'm finding that I am "resorting" to Java more and more for some things I just cannot do easily in LotusScript, and still want to run within the Domino server's purview.

In answer to the question: If 'better' can be applied to comparisons between vastly different tools, than I'd have to say, "Yes, Java is better than LotusScript." Why? Well, to begin with its a whole language. It has all the real object oriented 'stuff' you need for complex programming tasks. Aside from that, it has built in support for many of the more modern needs of a language. Interfaces to networking functions and such come to mind.

The long term problem with LotusScript, I must reluctantly admit, is that without a huge commitment of resources it cannot keep up with the growth and change in other languages. The example I give is Visual Basic. When LotusScript was released, it was very much in parity with Visual Basic. The two languages were nearly syntactically and functionally identical. Only the object model to which they were attached was different. That can hardly be said today, and the power of the objects models is so vastly different as to make the two languages nearly unrelated.

Of course, I'm not making the comparison here between Java and Visual Basic.net, as I think that's a much longer and harder debate since a great deal of vb's power comes from the visual studio itself and it can be hard to separate the langauge from the development environment and built in deployment model of Windows. A true comparison on that front would have to be a comparison of Java on J2EE, Visual Basic.net on the .Net framework, and LotusScript as part of a Domino/Notes environment. That's a subject I'm not going into today.

The major caveat is that Java as 'scripting' language is (at least in my opinion) a real pain the backside. Scripting, by which I mean using small portions of code to manipulate data or objects as part of an overall process, is still more easily done in a scripting language. Javascript, LotusScript, lotus Formula Languae, and to some extent Microsoft Visual Basic for Applications are still the easiest things to work with in that light.

The other major caveat is more personal -- I don't know Java well. That means everything I could do in 3 minutes with LotusScript takes an hour with Java. That's my problem, and I'm getting there little by little. My last Java agent only took 3 times as long, not 50.

I suppose that means NCT Search 3.0 will be based on a Java object, rather than a LotusScript one. Oh well.


There are  - loading -  comments....

re: Is Java a `better` language than LotusScriptBy Tom Duff on 06/23/2004 at 11:21 AM EDT
Give into the feelings, Andrew... let your dark side rule! :-)


Other Recent Stories...

  1. 01/26/2023Better Running VirtualBox or VMWARE Virtual Machines on Windows 10+ Forgive me, Reader, for I have sinned. I has been nearly 3 years since my last blog entry. The truth is, I haven't had much to say that was worthy of more than a basic social media post -- until today. For my current work, I was assigned a new laptop. It's a real powerhouse machine with 14 processor cores and 64 gigs of ram. It should be perfect for running my development environment in a virtual machine, but it wasn't. VirtualBox was barely starting, and no matter how many features I turned off, it could ...... 
  2. 04/04/2020How many Ventilators for the price of those tanks the Pentagon didn't even want?This goes WAY beyond Trump or Obama. This is decades of poor planning and poor use of funds. Certainly it should have been addressed in the Trump, Obama, Bush, Clinton, Bush, and Reagan administrations -- all of which were well aware of the implications of a pandemic. I want a military prepared to help us, not just hurt other people. As an American I expect that with the ridiculous funding of our military might, we are prepared for damn near everything. Not just killing people and breaking things, but ...... 
  3. 01/28/2020Copyright Troll WarningThere's a copyright troll firm that has automated reverse-image searches and goes around looking for any posted images that they can make a quick copyright claim on. This is not quite a scam because it's technically legal, but it's run very much like a scam. This company works with a few "clients" that have vast repositories of copyrighted images. The trolls do a reverse web search on those images looking for hits. When they find one on a site that looks like someone they can scare, they work it like ...... 
  4. 03/26/2019Undestanding how OAUTH scopes will bring the concept of APPS to your Domino server 
  5. 02/05/2019Toro Yard Equipment - Not really a premium brand as far as I am concerned 
  6. 10/08/2018Will you be at the NYC Launch Event for HCL Domino v10 -- Find me! 
  7. 09/04/2018With two big projects on hold, I suddenly find myself very available for new short and long term projects.  
  8. 07/13/2018Who is HCL and why is it a good thing that they are now the ones behind Notes and Domino? 
  9. 03/21/2018Domino Apps on IOS is a Game Changer. Quit holding back. 
  10. 02/15/2018Andrew’s Proposed Gun Laws 
Click here for more articles.....


pen icon Comment Entry
Subject
Your Name
Homepage
*Your Email
* Your email address is required, but not displayed.
 
Your thoughts....
 
Remember Me  

Please wait while your document is saved.