Just to help the OP make a decision, I've decided to post a couple of my personal favourite programming sniped, fished out over the years from my Esteemed Colleagues output. This is of my personal collection of course, and I'm quite selective as to the 'scope', generally.
My personal grand favourite is this gentleman, who is actually Dr CS gentleman. He made MANY other of the same grade, but this one has an intrinsic beauty that is something to behold.
And this one in it's simplicity more or less sums up the level of programming skills that is available on the market today.
These guys were hired, well paid, and are still on the market. I say, it can't be hard to be better
My personal grand favourite is this gentleman, who is actually Dr CS gentleman. He made MANY other of the same grade, but this one has an intrinsic beauty that is something to behold.
Code:
// Compute 2^n //
/////////////////
inline Int_t TwoToThePower ( HowMany_t n )
{
ASSERT(n>=0) ;
ASSERT(n<30) ;
Int_t k = 1 ;
while ( n != 0 )
{
k += k ;
n-- ;
}
return k ;
}
And this one in it's simplicity more or less sums up the level of programming skills that is available on the market today.
Code:
memset(&serv_addr, '0', sizeof(serv_addr));
These guys were hired, well paid, and are still on the market. I say, it can't be hard to be better
