auto break case char const continue default do double else enum extern float for goto if int long register return short signed sizeof static struct switch typedef union unsigned void volatile while
Some time ago, Exo wrote a poem using all the keywords in the C language (it'd be great if we could get that dug up and linked to here for reference.) What I'm offering you here is not any truly original idea like his, just my own stab at the task. It was fun to write; I'd like to see a bunch of different programmers' takes on C keyword poetry.
Some More K&R C Keyword Poems
(I'm not the first to do one of these.)
Some C poets constantly
Wax long, and pen ecstatic paragraphs
About the size of double cheeseburgers.
But in the external world
This barely registers as poetry,
So I'll keep it short.
(Else the publisher may void my checks
And have me unsigned.)
So I've typed up these verses and signed my name,
While not as introspectively.
(Don't feel like you have to continue reading
If they weren't all typed effectively.)
Problem is the keywords don't go together by default;
Usually they end up floating in a volatile soup
With no real union or structure.
So you have to keep switching them around
Until every combination's been enumerated,
And you reach your breaking point
And you pack your laptop in its case and get in your auto
And you want to drive off and never return.
But please don't give up,
For writing a C Keyword Poem
Builds character.