Name: Anonymous 2011-12-21 15:17
Inspired by whitespace. Instead of whitespace, everything is ;
void push(int x)
{
if (stack_idx >= STACK_SIZE-1) {
printf("Stack overflow!\n", STACK_SIZE);
exit(1);
}
stack[++stack_idx] = x;
}
void push(int x):
if (stack_idx >= STACK_SIZE-1):
printf("Stack overflow!\n", STACK_SIZE)
exit(1)
stack[++stack_idx] = x
(define (push : void x : int)
(if (>= stack-idx (sub1 STACK-SIZE))
...
void push int x:
if stack_idx >= STACK_SIZE-1
printf "Stack overflow!\n", STACK_SIZE
exit 1
stack[++stack_idx] = x
;void push(int x) {
;;;;if (stack_idx >= STACK_SIZE-1) {
;;;;;;;;printf("Stack;overflow!\n", STACK_SIZE)
;;;;;;;;exit(1)
;;;;}
;;;;stack[++stack_idx] = x
;}
☃void push(int x) {
☃☃☃☃if (stack_idx >= STACK_SIZE-1) {
☃☃☃☃☃☃☃☃printf("Stack;overflow!\n", STACK_SIZE)
☃☃☃☃☃☃☃☃exit(1)
☃☃☃☃}
☃☃☃☃stack[++stack_idx] = x
☃}
for (i = 0; i < 10; i++) {
if (i % 2 == 0) {
do_something (i); }
else {
do_something_else (i); }}
for (i = 0; i < 10; i++)
if (i % 2 == 0) do_something (i);
else do_something_else (i);do_one_thing; do_one_more_thing;
for (i = 0; i < 10; i++) {
if (i % 2 == 0) {
do_something (i);
} else {
do_something_else (i);
}
}
for (i = 0; i < 10; i+=2) {
do_something(i);
do_something_else(i+1);
}
namespace something {
class something_else {
public:
void something_cool() {
if (using_braces) {
std::cout << "No exceptions!\n";
} else {
std::cout << "Still no exceptions!\n";
}
}
};
};
something::something_else lol;
lol.something_cool;
i=0; while (i < 10) {
do_something (i++);
do_something_else (i++);
}do_something(0);
do_something_else(1);
do_something(2);
do_something_else(3);
do_something(4);
do_something_else(5);
do_something(6);
do_something_else(7);
do_something(8);
do_something_else(9);
pthread_create(&penis, NULL, do_something_likeabitch, NULL);
for (int i = 0; i < 10; i += 2)
do_something(i);
void* do_something_likeabitch(void* ptr){
for (int i = 0; i < 10; i += 2)
do_something_else(i);
return NULL;
}
for (i = 0; i < 10; i++)
{
if (i % 2 == 0)
{
do_something (i);
}
else
{
do_something_else (i);
}
}