code golf

Code golf is the practice of trying to implement some functionality in as small a program as possible (usually counted in terms of characters of source code). It's a type of a recreational programming activity and the basis for a number of online competitions.

Tips and hints

See also

Footguy [1 ]

Here's a fine example written in C.

main(l){main(8^putchar(l++["xx77Rd$fR\a$wP\aP"]^88)?l:26+fflush(sleep(1))-l);}

bll 2018-5-12 I have a question: Are there any useful operations/functions/tools/paradigms that the code golfing language(s) use that could be brought into Tcl as RFEs? I'm not talking about shortening or obfuscations but mapping and splitting and whatever operations that are useful for making programming tasks easier.