TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Java Keywords Poem

3 pointsby vonunov7 months ago

1 comment

vonunov7 months ago
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 &quot;waka waka bang splat&quot; feel to it. The beginning loosely reflects the order in which you might see these keywords used in source (I don&#x27;t know Java, just skimmed some examples). The rest just does whatever fits the meter.<p><pre><code> 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</code></pre>