Java telling us The Tale of Alan A’Dale

Software

Java telling us The Tale of Alan A'Dale!

I 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());
  }
}

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person in bios. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.