Re:Write A Function To Determine If A Number Is A Power Of 2
by yan on Monday October 18, 2010 @12:26PM
(#1804085)
I don't think a function named 'power_of_2?' can be any less clear about what it does regardless of its implementation. There are ways we can keep the different forces happily balanced (intellectual gratification, clarity, well-placed verbosity and maintainability)
[ Parent
| on HN ]
There are no comments on this comment yet.