[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: imenu rescan automatically
From: |
Joel Reicher |
Subject: |
Re: imenu rescan automatically |
Date: |
Mon, 12 Aug 2024 23:02:01 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Christopher Dimech <dimech@gmx.com> writes:
So I can forget any useful code that words.
For code to work it 'only' requires that the series of state
changes executed by the machine leads to the desired final state.
It cannot and should not be underestimated how obfuscated that can
be, and it is orthogonal almost to the point of being irrelevant
to the way humans understand code.
An example from the UNIX fortune file:
n = ((n >> 1) & 0x55555555) | ((n << 1) & 0xaaaaaaaa);
n = ((n >> 2) & 0x33333333) | ((n << 2) & 0xcccccccc);
n = ((n >> 4) & 0x0f0f0f0f) | ((n << 4) & 0xf0f0f0f0);
n = ((n >> 8) & 0x00ff00ff) | ((n << 8) & 0xff00ff00);
n = ((n >> 16) & 0x0000ffff) | ((n << 16) & 0xffff0000);
-- C code which reverses the bits in a word.
If it works, but you don't understand it, it doesn't work.
Regards,
- Joel
- Re: imenu rescan automatically, (continued)
- Re: imenu rescan automatically, Joel Reicher, 2024/08/11
- Re: imenu rescan automatically, Heime, 2024/08/12
- Re: imenu rescan automatically, Joel Reicher, 2024/08/12
- Re: imenu rescan automatically, Heime, 2024/08/12
- Re: imenu rescan automatically, Joel Reicher, 2024/08/12
- Re: imenu rescan automatically, Heime, 2024/08/12
- Re: imenu rescan automatically, Joel Reicher, 2024/08/12
- Re: imenu rescan automatically, Heime, 2024/08/12
- Re: imenu rescan automatically, Joel Reicher, 2024/08/12
- imenu rescan automatically, Christopher Dimech, 2024/08/12
- Re: imenu rescan automatically,
Joel Reicher <=