MaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 年前Writing C++ is easy.sh.itjust.worksimagemessage-square87fedilinkarrow-up1992arrow-down122
arrow-up1970arrow-down1imageWriting C++ is easy.sh.itjust.worksMaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 年前message-square87fedilink
minus-squarepastermil@sh.itjust.workslinkfedilinkEnglisharrow-up17arrow-down1·1 年前Clearly, you haven’t gcc & gdb…
minus-squareeupraxia@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up10·1 年前I love gcc but it can’t make nested template errors any less horrifying
minus-squareLil' Bobby Tables@programming.devlinkfedilinkEnglisharrow-up2·1 年前What!? NEVER nest your templates! That’s like jamming a microwave oven inside itself!
minus-squareeupraxia@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·1 年前If it were up to me I’d be avoiding templates altogether. Sadly, I don’t get that choice with 3rd party code.
minus-squareLil' Bobby Tables@programming.devlinkfedilinkEnglisharrow-up2·1 年前We never thought we’d live to see a [template] cascade… let alone create one.
minus-squareeupraxia@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up0·1 年前Do you know who ate all the function candidates?
minus-squareLil' Bobby Tables@programming.devlinkfedilinkEnglisharrow-up1·1 年前The right [type] in the wrong [template] can make all the difference in the world…
minus-squareBeigeAgenda@lemmy.calinkfedilinkEnglisharrow-up1·1 年前I would say that joke only works with template bugs, normally gcc gives fairly good directions.
Clearly, you haven’t gcc & gdb…
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.