A non negative binary integer value x is a power of 2 iff (x & (x-1)) is 0 using 2's complement arithmetic. -- [fact]
A guideline in the process of stepwise refinement should be the principle to decompose decisions as much as possible, to untangle aspects which are only seemingly interdependent, and to defer those decisions which concern details of representation as long as possible. -- Niklaus Wirth
If it looks like a duck, walks like a duck, and quacks like a duck, it's a duck. -- Official definition of "duck typing"
Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter. -- Eric Raymond
While I’ve always appreciated beautiful code, I share Jonathan’s concern about studying it too much. I think studying beauty in music and painting has led us to modern classical music and painting that the majority of us just don’t get. Beauty can be seen when it emerges, but isn’t something to strive for in isolation of a larger context. In the software world, the larger context would be the utility of the software to the end user. -- [A comment on a blog]
In order to understand what another person is saying, you must assume that it is true and try to find out what it could be true of. -- George Miller
Teach thy tongue to say, I do not know, and thous shalt progress. –Maimonides
The reason most people never reach their goals is that they don’t define them, or ever seriously consider them as believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who will be sharing the adventure with them. ~Denis Watiley
Two roads diverged in a wood, and I—I took the one less traveled by, And that has made all the difference. –Robert Frost
The person who says it cannot be done should not interrupt the person who is doing it. –Chinese Proverb