{"id":18536293,"url":"https://github.com/adishavit/cpp_poetry","last_synced_at":"2025-11-01T02:30:31.362Z","repository":{"id":69908818,"uuid":"132605440","full_name":"adishavit/cpp_poetry","owner":"adishavit","description":"Saving the art of the C++ Slack #poerty channel for posterity","archived":false,"fork":false,"pushed_at":"2019-06-07T05:20:42.000Z","size":38,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-26T03:27:22.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adishavit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-08T12:26:24.000Z","updated_at":"2020-12-20T22:56:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"b81f728b-963a-497a-86c1-0e640ae06ad4","html_url":"https://github.com/adishavit/cpp_poetry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adishavit%2Fcpp_poetry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adishavit%2Fcpp_poetry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adishavit%2Fcpp_poetry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adishavit%2Fcpp_poetry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adishavit","download_url":"https://codeload.github.com/adishavit/cpp_poetry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239251181,"owners_count":19607582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T19:31:46.704Z","updated_at":"2025-11-01T02:30:31.334Z","avatar_url":"https://github.com/adishavit.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# cpp_poetry  \nSaving the art of the C++ Slack #poerty channel for posterity  \n    \n  \n#poetry  \n  \n**Phil Nash**  \nthere was a new channel called #poetry  \nwhose content was decidely throwaway  \nbut starting with root  \nand more nodes to boot  \nwe realised that we could just grow a tree  \n  \n**Adi Shavit**  \nI say it shall be,  \na repository  \nof poetry inspiration.   \n  \nWhere the poor coder,  \nor poet or speaker,  \nmay find slides for their presentation.  \n  \n**Phil Nash**  \n```  \nauto theAnswer( int b ) {  \n    auto question = [=]{ return (2*b) | !(2*b); };  \n    return question();  \n}  \nint main() {  \n    return theAnswer(21);  \n}  \n```  \n  \n**Jon Kab**  \nHere is my ACK  \nThis poem is whack  \n  \n**Tony Van Eerd**  \nRemember when selecting a container, vector is best;  \nLeave a comment when choosing one of the rest.  \n  \n**Tony Van Eerd**  \nLeonard Cohen on Duff's device:  \n  \nNow I've heard there was a secret code  \nThat Duff did type, and it pleased the load  \nBut you don't really care for coding, do you?  \nIt goes like this  \nThe for, the switch  \nThe minor fallthrough, the performance lift  \nThe baffled dev composing unrolled loops, yeah   \nUnrolled loops, yeah  \nUnrolled loops, yeah  \nUnrolled loops, yeah  \nUnrolled loops, yeah  \n  \n  \n**Simon Brand**  \nMy compiler has betrayed me and left me to my fate,  \nMy program doesn't work, it just calls `std::terminate`.  \n  \n**Jon Kab**  \nI find that when you're a newbie  \nYour biggest headache is UB  \n  \n**Tony Van Eerd**  \nCausing me pain with his fingers  \nFilling my app with his code  \nKilling me softly with his code  \nKilling me softly with his code  \nFilling my whole life with his code  \nKilling me softly with his code  \n  \nI heard he wrote some good code, I heard he had a style  \nAnd so I came to see him, to listen for a while  \nAnd there he was, this bad dev, a bungler to my eyes‎  \n  \nCausing me pain with his fingers  \nFilling my app with his code‎  \nKilling me softly with his code  \nKilling me softly with his code  \nFilling my whole life with his code  \nKilling me softly with his code  \n  \nI felt all flushed with anger, embarrassed by the code  \nI felt he'd found my patterns and turned each one around  \nI prayed that he would finish, but he just kept right on  \n  \nCausing me pain with his fingers  \nFilling my app with his code  \nKilling me softly with his code  \nKilling me softly with his code  \nFilling my whole life with his code  \nKilling me softly with his code  \n  \n**Adi Shavit**  \nThere goes my time with this channel,  \nDeadlines rush by with a whoosh,  \nKilling my produc-tivity  \nKilling it softly with his poems  \nKilling it softly with his poems  \nFilling my inbox, @tvaneerd songs  \nKilling it softly, with his poems.  \n  \n**Tony Van Eerd**  \nABBA on ABA (lockfree issue)  \n  \nIf you change your mind, on the node first in line  \nHoney I was free  \nTake a chance on me  \nIf you freed me, now you know, I'll come back around  \nHead's got a place for a node, when the stack's popping down  \nIf head finds my node when the other nodes have gone  \nHoney I was free  \nTake a chance on me  \nGonna do my very best, but I may be a lie  \nIf you use me in the CAS, if you let me try  \nTake a chance on me  \n(That's all I ask of you honey)  \nTake a chance on me  \nTake a chance, take a chance, take a chance on me  \n  \n(the stutter at the end is due to a threading bug)  \n  \n**Zach Weinersmith**  \n(via Jon Kab)  \nhttps://twitter.com/ZachWeiner/status/935885308712898561  \nBecause of a portion repeated.  \nThis poem’s last line is secreted.  \nWhen line four is done  \nReturn to line one  \n(If reading this, you must’ve cheated)\n  \n\n**Tony Van Eerd**    \n'Twas the night be release  \nYet VC's were about to divest  \nNot a file was compiling  \nNot even a test  \n  \n(need to start practicing for Christmas)  \n  \n**Nicole Mazzuca**  \nI like monads and I cannot lie  \nyou other coders can't deny  \nwhen IO walks in with an itty-bitty bind  \nand side effects on the mind  \nI get sprung  \n  \n**Stephan Boekelman**  \na programmer applies - you ask him what for  \nhe says the whole stack - blue sky to green floor  \n  \nyou question his answer - in order to agree  \ntell me the difference - npn to pnp  \n  \nhe shrugs his shoulders - physics' not his best  \nyou begin to wonder - but grant a second test  \n  \ntell me how many - from NAND to NOR  \nas much as the other way - it merely takes four!  \n  \nyou go for high five - with a flick of the wrist  \nthe applicant lags - about to resist  \n  \n150k - no more nor less  \nyou take down your arm - in an unconscious process   \n  \nsays as a JS guy - he's clearly worth more  \nyou facepalm your self - and show him the door  \n  \n**Adi Shavit**  \nI’m proud, I must tell you,  \nYou’ll have to agree,  \nThat programming’s a bit like   \nGood poetry.   \n  \nThe structure is rigid,  \nThe syntax is too,  \nSemantics emergent and   \nNot easy to do.   \n  \nBut devs have a critic  \nThat poets do not,  \nThe one that enforces  \ncompiling or not.  \n  \n  \n**Jens Weller**  \nThe archives are depleted,  \nall poetry has been deleted.  \n  \n**Jon Kab**  \nSince these lines are ephemeral,  \nbetter make backups several  \n  \n**Tony Van Eerd**  \nNow that's a travesty;  \nAlmost as bad as coding in C.  \n  \n\n**Jon Kalb**  \nWith the speed of horse-drawn coaches  \nthe submission deadline approaches.  \nYou’ll have so much fun in Aspen  \nWhen you send your proposed talk in.  \n  \n**Jena Weller**  \nThinking about to commit to C++Now,  \nwhat talk to submit to enjoy a few days of snow?  \nWith out much fuzz, it should be something about C++,  \nbut it also should be cutting edge, otherwise I'll not get the program committees match...  \nSo I ponder, and wonder should I wait with submitting how much longer?  \n  \n**Tony Van Eerd**  \nwords and thoughts swirling  \nblossoms on the Aspen trees  \nnew ideas sprout  \n\n**Kevin**  \nOff-by-one on the third  \nBut I wouldn't have done better, as a bird  \n  \n**Jon Kalb**  \nThere once was a man from Kitchener  \nWho was a poet as well as a presenter.  \nHe wrote a haiku about Apsen  \nso sweet it made my head spin,  \nSo I shared it with my followers on twitter.  \n\n\n**Tony Van Eerd**  \nWith help from kd lang  \nhttps://genius.com/Kd-lang-miss-chatelaine-lyrics  \n  \nConstexpr if constexpr if  \nI have lived just for this  \nI can explain why I do not  \nMiss SFINAE  \n  \nenable_if enable_if  \nHeld me captive - just a bit  \nBut I can explain why I do not  \nMiss SFINAE  \n  \nEvery time I'd specialize  \nClouds of errors  \nBurst from the compiler  \n  \nDon't ask why, don't ask why  \nI'll reply with just a sigh  \nBut I can explain why I do not  \nMiss SFINAE  \nMiss SFINAE...  \n  \n\n**Jens Weller**  \nYour modifications fix the calculation  \nBut I’m afraid you forgot a tabulation.  \nThis is the beginning of your tribulation.  \nYour perfect correction won’t bring you elation.  \n  \nIf there was a way to just automate,  \nMaybe you could avoid arguing with your mate.  \nShould there be a space after the bracket  \nHow many white spaces, How many line breaks  \n  \nDid you know tools could format your troubles away?  \nYou have to choose, there is no midway  \nTool-able or arguably palatable?  \nTastefulness is debatable, not checkable!  \n  \nYou may be expressionist or constructivist.  \nAlas the whole situation is surrealist.  \nKernighanists are not great artists  \nNeither are Whitesmiths and Allmanists, that’s the gist.  \n  \nI too like Guillaume Apollinaire.  \nHand crafted alignment falls in disrepair.  \nAre you trying to win the IOCCC ?  \nYour sole concern should be consistency.  \n  \nThere is no value in what is invisible.  \nNo semantic in what is not expressible.  \nA line break or not, what’s the différance  \nFor Git, noisy inconvenient difference  \n  \nIs indentation really communicative?  \nOf what can emptiness be indicative?  \nThere is no point, your patch is not applicable  \nNot comparable, not even shareable.  \n  \nFor the love or your project’s contributors  \nDon’t act like an art gallery curator.  \nClear rules should control the look of each line  \nPut them in an enforceable guideline  \n  \nIt took a while, now we have modern tools.  \nThe have limitations and act like fools.  \nFor they have one goal, uniformity.  \nPick a style then use it consistently.  \n  \nYour code won’t be magnificent and perfect.  \nBut it will be readable, it’s what I expect.  \nTool-able, Merge-able, Refactor-able  \nQualities that I find truly adorable.  \n  \nPick a style then use it consistently.  \nThen concentrate on things that matter really.  \nAnd so use a tool and accept its caveats  \nFor your productivity, use clang-format.  \n  \n\n**Peter Bindels**  \n`du` messt alles, was ich habe, auf der harddisk. `du` messt alles, auf mein SSD. `du`! `du` allein sieht mein verbrauch! (to the tune of   https://youtu.be/iy-nr1L_YrY?t=1m09s )  \n  \n\n**Jon Kalb**  \nOn the twelfth day of Christmas  \nthe committee sent to me:  \nTwelve file systems  \nEleven uncaught exceptions  \nTen removed trigraphs  \nNine maybe unuseds  \nEight fold expressions  \nSeven stood optionals  \nSix stood variants  \nFive constexpr ifs  \nFour stood conjunctions  \nThree stood negations  \nTwo stood disjunctions  \nand parallel algorithms.  \n  \n  \n**Kate Gregory**  \nI have archived  \nthe poems  \nthat were in  \nthe channel  \n  \nand which  \nyou were probably  \nsaving  \nto read sometimes  \n  \nForgive me  \nthey were funny  \nso C++  \nand so rhyming  \n  \n**Ben Steffan**  \n\"Is this channel still  \nalive?\", I ask, lamenting  \nthe bare void within.  \n  \n**Adi Shavit**  \nIndeed it is, despite Slack’s haste  \nI saved it all with copy-paste.   \nStill need to start a repository  \nFor all the witty poetry  \n  \n**Yogendra Singh**  \nMy soul, it thirsts,  \nFor your, wise words.  \n  \n  \n**Dave Belcher**  \nThere was a programmer called Gus  \nWho wanted to stream to the bus  \nHe didn't have fun  \nCus he was off by one  \nUntil he added plus plus  \n  \n**Nicholas Timmons**  \nA standard was made called C++17,  \nbut the lines they were not read in-between,  \nIts such a depressor  \nNow that the 'if constexpr'esor  \n*Make weakly typed C++ definitions routine*  \n\n**Ridiculous Fish @ridiculous_fish**   \n(via kate Gregory)  \nhttps://twitter.com/ridiculous_fish/status/1001681073917620224   \ndo this (a C++ poem):  \n  \nIf volatile or bitor  \ntry short break  \ngoto this private void, float  \nand return new  \n\n**Matt Calabrese@CppSage**  \n(via Peter Bindels)  \nhttps://twitter.com/CppSage/status/1001969449489092609  \n@ridiculous_fish if using reinterpret_cast while constexpr, do not continue. try using static_cast for this -- constexpr requires not using reinterpet_cast.\n\n\n**Ólafur Waage**  \nIn the constructor  \nObject is not fully formed  \nBe careful with `this`\n\n\n**Kelly Vaughn@kvlly**  \n(via Tony Van Eerd)   \nhttps://twitter.com/kvlly/status/1000712328847994881   \nHey I just met you  \nAnd this is crazy  \nBut here's a PR  \nSo git merge maybe  \n\n\n**Jon Kalb**  \nOf C++, I can’t get my fill.  \nAfter two dozen years, it’s still a thrill,  \nBut my wife took a vacation stand  \nPlanned a trip, long ago, to Switzerland.  \nWe’ll see it all, we really will,  \nEvery town, except Rapperswil.  \n\n\n**Shafik Yaghmour**  \nhttps://twitter.com/shafikyaghmour/status/986353977179516928  \n\nOde to the ternary operator\n\nher eyes were a question mark, her mouth a semi-colon  \ni feel in love with smooth operator the first time I met her  \nno more if and else for me  \nit’s ternary and me forever  \n\n\n**Shafik Yaghmour**  \nhttps://twitter.com/shafikyaghmour/status/980898697578921984  \n\nThis is Just to Say -- Compilers Undefined Behavior Edition\n\nI have translated  \nthe program  \nthat was  \nin the translation units  \n\nand which  \nyou were probably  \nexpecting  \npredictable results  \n\nForgive me  \nthey required no diagnostic  \nso undefined  \nand so erroneous\n\n\n**Tony Van Eerd**\n(Black Sabbath, Crazy Train which Herb played on the piano one evening in Rapperswille, so...)\n\nAll aboard! Hahahahahahaha!  \n(I I I I I)\n\nCrazy, but that's how it goes  \nMillions of programmers, working at code  \nMaybe, it's not too late  \nTo write a proposal, and submit by the date  \n\nPaper flaws not healing, code's a bitter shame\n\nI'm going off the rails on the release train  \nI'm going off the rails on the release train\n\nI've listened to masters, I've listened to fools  \nI've watched all the core group, who write all the rules  \nOne person petitioned, my rule breaks flow control  \nThe plenary says TS, and I'm stuck in the role  \n\nPaper flaws still reeling, driving me insane  \n\nI'm going off the rails on the release train  \nI'm going off the rails on the release train  \n\nI know that things are going wrong for me  \nYou gotta help me with the words, Yeah yeah!  \n\nHeirs of a paper war, that's what we've become  \nInheriting troubles, I'm mentally numb  \nCrazy, I just cannot bear  \nI'm living with something, that just isn't fair  \n\nPaper flaws not healing, who and what's to blame  \n\nI'm going off the rails on the release train  \nI'm going off the rails on the release train  \n\n\n**Tony Van Eerd**\nCode is a churning thing  \nAnd it makes a coder sting  \nBound by algo desire  \nI fell in to the Ranges mire  \n\nI fell in to the churning Range mire  \nI went down, down, down  \nAnd the compiles went higher  \n\nAnd it churns, churns, churns  \nThe Ranges mire  \nThe Ranges mire  \n\nI fell in to the churning Ranges mire  \nI went down, down, down  \nAnd the compiles went higher  \nAnd it churns, churns, churns  \nThe Ranges mire  \nThe Ranges mire  \n\nThe taste of code is sweet  \nWhen abstractions meet  \nI fell for it like a child  \nOh, but my aspire went wild  \n\nI fell in to the churning Ranges mire  \nI went down, down, down  \nAnd the compiles went higher  \n\nAnd it churns, churns, churns  \nThe Ranges mire  \nThe Ranges mire  \n\nI fell in to the churning Ranges mire  \nI went down, down, down  \nAnd the compiles went higher  \nAnd it churns, churns, churns  \nThe Ranges mire  \nThe Ranges mire  \nAnd it churns, churns, churns  \nThe Ranges mire  \nThe Ranges mire  \n\n\n**Simon Brand**\nCppCon looms  \nConstant checking of email  \nMore constant checking  \n\n**JF Bastien**  \nhttps://twitter.com/jfbastien/status/1037042152881049600\n\nHello Dhrystone, my old friend  \nI've come to optimize you again  \nBecause a strcmp softly creeping  \nLeft its trace while I was sleeping  \nAnd the optimization that was planted in my brain  \nStill remains  \nWithin the sound of inlining\n\n\n**Eric Niebler**  \nI see a red node and I want to paint it black.  \nNo red nodes anymore I want them to turn black.  \n\n**Tony Van Eerd**  \nI see the T's go by wrapped in their standard nodes  \nI have to churn my head until my balance grows  \n\n\n**Tony Van Eerd \u0026 Christie Coworkers**\nHello debugger, my old friend  \nI've come to walk with you again  \nBecause a coworker softly typing  \nLeft their bugs while I was Skyping  \nAnd the issue that was given bug-bounty claim  \nStill remains  \nWithin the mound of codelines  \n\nIn restless bouts I walk alone  \nBloated paths of template code  \n'Neath the halo of a free func  \nI turned my caller into the old and true  \nWhen my eyes were stabbed by the flash of a modern light  \nThat split the night  \nAnd touched the mound of codelines  \n\nAnd in the modern light I saw  \nTen thousand people, maybe more  \nPeople coding without thinking  \nPeople observing without listening  \nPeople threading without locking  \nPeople naming without caring  \nPeople optimizing without measuring  \nPeople allocating without freeing  \nPeople throwing without raii-ing  \nPeople writing without testing  \nPeople testing without automating  \nPeople committing without compiling  \nPeople looping without bounding  \nPeople dereffing without checking  \nPeople deriving without aggregating  \nPeople adding without refactoring  \n...  \nPeople writing code that reviewers never glared  \nNo one dared  \nDisturb the mound of codelines  \n\"Fools\" said I, \"You do not know  \nA codebase, like a cancer, grows  \nWatch my vids that I might teach you  \nTake my code that I might reach you\"  \nBut my words, like silent conversions, fell  \nAnd echoed in the hells of codelines  \nAnd the people bowed and prayed  \nTo the modern god they made  \nAnd the compiler flashed out its warnings  \nIn the words that it was forming  \nAnd the sign said, \"The words of the profits  \nAre written on the appstore walls  \nAnd cubicle halls\"  \nAnd whispered in the mounds of codelines  \n\n\n**Tony Van Eerd \u0026 Christie Coworkers**\nIs this the real plan?  \nThis must be fantasy.  \nCaught in a deadline  \nfar removed from reality.  \n\nOpen your eyes  \nLook up all the bugs and see  \nI'm just a rich dev, I need some sympathy  \nBut I'm easy come, easy go  \nStock price high, stock price low  \nAnyway the firm goes, doesn't really matter to me, to me  \n\nMama, just wrote UB  \nPut a gun against my foot  \nPulled the trigger, now it's live  \nMama, startup had just begun  \nBut now I've gone and thrown it all away  \n\nMama, whoops, didn't mean to make that fry  \nIf I'm not back again this time tomorrow  \nCarry on, carry on as if nothing really happened  \n\nToo late, my time has come  \nSent resumes 'round the net,  \nemail's dinging all the time  \nGoodbye, everybody, I've got to go  \nGotta leave you all behind and take that job  \n\nMama, ooh, (any way the firm goes)  \nI don't want to try{}  \nI sometimes wish we'd never used throw at all  \n\nI see a little C++ without a plan  \nStatic member? static member! And does that reference dangle?  \nThread support and templates, very, very fright'ning me  \n(Variadics) initializers, (RAII) CRTP, NonStaticDataMembers SFINAE NRVO-O-O-O-O  \n\nDumb code review where nobody loves me  \nYou're just a bad dev destroying our company  \nSpare our codebase from your monstrosities  \n\nEasy come, easy go, will you let it go?  \nIt's named wrong! No, we will not let it go. (Let it go!)  \nIt's named wrong! We will not let it go. (Let it go!)  \nIt's named wrong! We will not let it go. (Let it go!)  \nWill not let it go. (Let it go!)  \nNever let it go (Never, never, never, never let it go)  \nOh oh oh oh  \nNo, no, no, no, no, no, no  \n(Oh mamma mia, mamma mia) Mama mia, let me go  \nManagement has a paper left to sign for me, for me, for me  \n\nSo you think you can own me and all of my time?  \nSo you think you can smear me and leave it online?  \nOh, baby, can't do this to me, baby!  \nJust gotta get out, just gotta get right outta here!  \n\nOh oh oh yeah, oh oh yeah  \nNothing really matters, anyone can see  \nNothing really matters.....  \nCoding really matters to me  \n(Any way the firm goes)  \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadishavit%2Fcpp_poetry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadishavit%2Fcpp_poetry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadishavit%2Fcpp_poetry/lists"}