Name: Anonymous 2014-12-20 10:36
"I was a C++ programmer before I started designing Ruby. I programmed in C++ exclusively for two or three years. And after two years of C++ programming, it still surprises me."
fizzbuzz(i, n) {
(i % 3 == 0) &&
printf("Fizz");
(i % 5 == 0) &&
printf("Buzz");
((i % 3) && (i % 5)) &&
printf("%d", i);
printf("\n");
++i;
(i <= n) &&
fizzbuzz(i, n);
}
main(argc, argv) {
argc = 1;
fizzbuzz(argc, 100);
}
auto
) but you can create global vars without keywords (this only works because C HAS TO interpret sth like ``i;
'' as decl when it's in global scope, since it can't legally be an expression or statement).