MaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 year agoWriting C++ is easy.sh.itjust.worksimagemessage-square86fedilinkarrow-up11.07Karrow-down121
arrow-up11.05Karrow-down1imageWriting C++ is easy.sh.itjust.worksMaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 year agomessage-square86fedilink
minus-squarecassie 🐺@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up12·1 year agoI love gcc but it can’t make nested template errors any less horrifying
minus-squareImpossibleRubiksCube@programming.devlinkfedilinkEnglisharrow-up2·1 year agoWhat!? NEVER nest your templates! That’s like jamming a microwave oven inside itself!
minus-squarecassie 🐺@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·1 year agoIf it were up to me I’d be avoiding templates altogether. Sadly, I don’t get that choice with 3rd party code.
minus-squareImpossibleRubiksCube@programming.devlinkfedilinkEnglisharrow-up2·1 year agoWe never thought we’d live to see a [template] cascade… let alone create one.
minus-squarecassie 🐺@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·1 year agoDo you know who ate all the function candidates?
minus-squareImpossibleRubiksCube@programming.devlinkfedilinkEnglisharrow-up2·1 year agoThe right [type] in the wrong [template] can make all the difference in the world…
minus-squareBeigeAgenda@lemmy.calinkfedilinkEnglisharrow-up1·1 year agoI would say that joke only works with template bugs, normally gcc gives fairly good directions.
I love gcc but it can’t make nested template errors any less horrifying
What!? NEVER nest your templates! That’s like jamming a microwave oven inside itself!
If it were up to me I’d be avoiding templates altogether. Sadly, I don’t get that choice with 3rd party code.
We never thought we’d live to see a [template] cascade… let alone create one.
Do you know who ate all the function candidates?
The right [type] in the wrong [template] can make all the difference in the world…
I would say that joke only works with template bugs, normally gcc gives fairly good directions.