开云体育

Re: How to delete a turnout with jython


 

I like the symmetry of constructors and destructors. I do understand that automatic garbage collection was a primary justification for Java (yet another programming language), and destructors per se do not exist. Fortunately I found deleteBean() and now can blow away all kinds of stuff.
?
Anytime I have to deal with a new programming or scripting language (currently python/java for JMRI) I am reminded of a truly classic article from 1982. My hard copy that I have had since then is titled "Real Programmers Don't Write Pascal." At the time I was a proficient Fortran 66 user, and yes did use punch cards and JCL on IBM 360/370 mainframes and had worked at Sandia National Labs, so I appreciated the tongue in cheek humor. The article can still be found, https://en.wikipedia.org/wiki/Real_Programmers_Don't_Use_Pascal.
--
-Ralph

Join [email protected] to automatically receive all group messages.