FizzBuzz solved using C++ template metaprogramming by having the compiler output the solution as error messages: adampetersen.se/articles/fiz…

Jan 22, 2013 · 3:37 PM UTC

2
14
7
Replying to @stilkov
@stilkov C++ template mp was discovered accidentally when some1 generated prime nos as compiler errors in 1 of the standardization mtgs
2
@debasishg Yeah, @KevlinHenney showed that code (or one with similar effect) :-)
1
Replying to @stilkov
@stilkov Now I'm studying Python
1
@dixonliu8888 A very nice language IMO