Skip to content

Instantly share code, notes, and snippets.

@clee
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clee/9be6f7d056afcfe244d0 to your computer and use it in GitHub Desktop.
Save clee/9be6f7d056afcfe244d0 to your computer and use it in GitHub Desktop.
Port of @airencracken's JavaClassNameGenerator into a language that actually runs on the JVM for maximum lulz
(def nonsense [
"Serializer"
"Listener"
"XML"
"Builder"
"Interface"
"Manager"
"Handler"
"Factory"
"Observer"
"Abstract"
"Bean"
"Interceptor"
"Injector"
"Strategy"
"Wrapper"
"Lazy"
"Pool"
"Prototype"
"Adapter"
"Facade"
"Mediator"
"Visitor"
"Scheduler"
"Actor"
"Singleton"
"Loader"
"Iterator"
"Generator"
"Util"
"Servlet"
"Tokenizer"
"Service"
"Global"
"Parser"
"Session"
])
(defn random [] (rand-int (count nonsense)))
(println (clojure.string/join (repeatedly (random) #(nonsense (random)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment