3 ms·
Before I read the article I thought it was going to be a rant about the absurdly verbose type signatures and/or errors that can result. Here's the longest one I
by jjoonathan 11y ago
Before I read the article I thought it was going to be a rant about the absurdly verbose type signatures and/or errors that can result. Here's the longest one I've seen in the wild -- 8.9kb for the name alone. If you're bored, I dare you to try to find the opening parenthesis without using Ctrl+F. Also, if you start reading tokens and wonder what "tetraphilia" is, it's the love of monsters. Seems appropriate.
http://www.pastebucket.com/97614 http://www.pastebucket.com/97614
- vmorgulis 11y agoC++ templates are Turing-complete ;)
- jjoonathan 11y agoYeah, I remember when it used to be a joke that C++'s type system would become turing complete before it got reflection. I don't know if it's more funny or less funny now that it's actually happened. In any case, that's what the "in the wild" constraint is for. The name length limits imposed by the ecosystem probably aren't as interesting as the creatures you can find swimming in its depths. Probably.
- gfaure 11y agoThat's surely teratophilia, not tetraphilia...