Not to be confused with
unreachable code.
Something that some
programmers ssek to achieve as many times a possible. One of the languages in which you can easily produce unreadable code is
C++. I'm not that good at it - I tend to like the long (and thereby somewhat readable for
ppl with
photographic memory)
statements like
for(Count=0;Count<(const)(Countries[Country]->NumNeighbours);Count++)
{
NeighbourOwner=Countries[(Countries[Country]->Neighbours[Count])]->Owner;
if(NeighbourOwner!=Owner) return true;
}
Unreadable has to be more like this:
short main = {
277, 04735, -4129, 25, 0, 477, 1019, 0xbef, 0, 12800,
-113, 21119, 0x52d7, -1006, -7151, 0, 0x4bc, 020004,
14880, 10541, 2056, 04010, 4548, 3044, -6716, 0x9,
4407, 6, 5568, 1, -30460, 0, 0x9, 5570, 512, -30419,
0x7e82, 0760, 6, 0, 4, 02400, 15, 0, 4, 1280, 4, 0,
4, 0, 0, 0, 0x8, 0, 4, 0, ',', 0, 12, 0, 4, 0, '#',
0, 020, 0, 4, 0, 30, 0, 026, 0, 0x6176, 120, 25712,
'p', 072163, 'r', 29303, 29801, 'e'
};
(This was one of the entries for the
IOCCC in
1984)