Java telling us The Tale of Alan A’Dale
SoftwareI was sitting at the Boatdeck Cafe this morning thinking of all the work I was supposed to be doing, and it was so overwhelming I decided to write a nonsensical Java application to tell us The Tale of Alan A'Dale instead.
Feel free to paste the code into your favourite text editor then execute it on your machine if you wish to feel the wondrousness. That is a word isn't it?
/** * Tells us The Tale of Alan A'Dale * Adapted by Ruben Schade 2009 */ public class AlanADale { private String theTale = "n"; public String tellUsTheTale() { for (int count = 0; count < 3; count++) theTale += "This is The Tale… "; theTale += "of Alan A'Dale!n"; return theTale; } public static void main(String[] args) { AlanADale NotOnlyButAlso = new AlanADale(); while(true) System.out.println(NotOnlyButAlso.tellUsTheTale()); } }