New Literate Program Published

I have published another literate program on This one shows how the Rot13 encoding system can be implemented in Java. However, that is trivial! The real point is to document the basic use of JUnit testing and Apache Ant which are standard tools in the professional Java developer’s toolbox (in fact they make Java just about usable :-)

Within 24 hours of the first mention of my program, another literate programmer had documented the altogether more elegant implementation as a sed script. My guess is that a Groovy implementation would, if not quite as elegant, be much simpler than the Java version.

Author: cpjobling

Senior lecturer, College of Engineering, Swansea University