HN2new | past | comments | ask | show | jobs | submitlogin

As if C++ didn't have enough of “black magic” already, there's another layer of that. Just in case you find error messages involving template applications still too readable.


Little reminder that there once was a "C++ error message competition" [0] where your score was measured as "the size of the error message divided by the size of the source code". The winning entry had a score of 5.9 billion.

[0] https://tgceec.tumblr.com/post/74534916370/results-of-the-gr...


2014 but still hilarious, although the winner had nothing to do with templates.

From one of the entries:

> Extra credit for using Perl, which is the only language less readable than C++ templates.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: