TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Java Keywords Poem

3 点作者 vonunov7 个月前

1 comment

vonunov7 个月前
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>