Ein bisschen alt ist der Witz schon. Damit wir es schnell hinter uns
haben, die anderen "üblichen" "Witze" die ich kenne:
1 | #define begin {
|
2 | #define end }
|
3 | #define ethernal_truth (1)
|
4 | #define pigs_do_not_fly (1)
|
5 | #define the_Philadelphia_Eagles_never_win_the_Super_Bowl (1)
|
6 | #define hell_unfrozen (1)
|
7 | #define forever while(hell_unfrozen)
|
8 |
|
9 | while(ethernal_truth) {
|
10 | }
|
11 |
|
12 | do {
|
13 | } while(pigs_do_not_fly);
|
14 |
|
15 | while(the_Philadelphia_Eagles_never_win_the_Super_Bowl) begin
|
16 | end
|
17 |
|
18 | do {
|
19 | } forever;
|
20 |
|
21 | // Aber, das entartet zu
|
22 | do begin
|
23 | end forever; // WTF?
|
Ach ja, und richtig Oldschool, so einen Scheiß gab es ja auch, von
https://github.com/v7unix/v7unix/blob/master/v7/usr/src/cmd/sh/mac.h
1 | #
|
2 | /*
|
3 | * UNIX shell
|
4 | *
|
5 | * S. R. Bourne
|
6 | * Bell Telephone Laboratories
|
7 | *
|
8 | */
|
9 |
|
10 | #define LOCAL static
|
11 | #define PROC extern
|
12 | #define TYPE typedef
|
13 | #define STRUCT TYPE struct
|
14 | #define UNION TYPE union
|
15 | #define REG register
|
16 |
|
17 | #define IF if(
|
18 | #define THEN ){
|
19 | #define ELSE } else {
|
20 | #define ELIF } else if (
|
21 | #define FI ;}
|
22 |
|
23 | #define BEGIN {
|
24 | #define END }
|
25 | #define SWITCH switch(
|
26 | #define IN ){
|
27 | #define ENDSW }
|
28 | #define FOR for(
|
29 | #define WHILE while(
|
30 | #define DO ){
|
31 | #define OD ;}
|
32 | #define REP do{
|
33 | #define PER }while(
|
34 | #define DONE );
|
35 | #define LOOP for(;;){
|
36 | #define POOL }
|
37 |
|
38 |
|
39 | #define SKIP ;
|
40 | #define DIV /
|
41 | #define REM %
|
42 | #define NEQ ^
|
43 | #define ANDF &&
|
44 | #define ORF ||
|
45 |
|
46 | #define TRUE (-1)
|
47 | #define FALSE 0
|
48 | #define LOBYTE 0377
|
49 | #define STRIP 0177
|
50 | #define QUOTE 0200
|
51 |
|
52 | #define EOF 0
|
53 | #define NL '\n'
|
54 | #define SP ' '
|
55 | #define LQ '`'
|
56 | #define RQ '\''
|
57 | #define MINUS '-'
|
58 | #define COLON ':'
|
59 |
|
60 | #define MAX(a,b) ((a)>(b)?(a):(b))
|