1 comment

[ 27.5 ms ] story [ 348 ms ] thread
Someone in the Root Access chat room on superuser (StackExchange) asked a bot to post a list of Java keywords. Potential leapt out at me, and some hours of shuffling later, I had this. It uses a few extra reserved words rather than just the ones originally posted, but nothing not fitting the spirit of it. I think it came out with a kind of "waka waka bang splat" feel to it. The beginning loosely reflects the order in which you might see these keywords used in source (I don't know Java, just skimmed some examples). The rest just does whatever fits the meter.

  public void throws if throw new
  try if else do return true

  catch this class int while float short
  enum interface instanceof import

  abstract package with byte sealed
  exports private for null yield

  switch case break when default var
  permits double final char

  strictfp const synchronized
  static volatile provides

  transitive record extends
  transient requires opens

  boolean assert goto
  implements long continue

  super native, finally,
  protected; these words are key