Friday Poem
© 2023-09-22 Luther Tychonievich
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
other posts
An Ode to D

Untitled Poem

Do you write D? a colleague said.
    I do, was my reply.
But why? he asked, and scratched his head.
    A twinkle lit might eye.
Template metaprogramming!
    I stated with great joy
“Designed so well it makes me sing,
    No plus-plus SFINAE toy.
The function/method syntax pulls
    apart design and ease.
With fibers and immutables
    Concurrency’s a breeze.
Garbage has two options, and
    they work together well.
Ranges are a tool so grand,
    alone I think they’d sell.
A struct’s a struct, a class is not;
    Compilers can run code;
It links with C; assembly’s hot;
    Phobos deserves an ode.
There’s more to praise,” I said to him,
    “And flaws as well – a few –
But even Julia and Nim
    can’t do what D can do.”
I left my colleague shrugging then;
    I find it’s oft this way.
D’s features go beyond their ken
    So what am I to say?