Forgot your password?
typodupeerror

Comment Re:QR code (Score 1) 149

I second this. Make up a QR code with embedded information about the title of the book, who you lent it to, and when. Print up a sticker and affix it to the spine of the book. You can also place a traditional Ex Libris sticker on the inside cover. Then, when you see the book in your ex-friend's library, you can scan the QR code with any smartphone camera.

Comment My 2 cents (Score 1) 956

1) ! (K&R braces) // 'nuff said
2) when formatting expressions, put multiple spaces in parens () - depending on nesting level
ie. if ( ( exp1 || (exp2 & something) ) && (something-else) )
3) about variable names - no hungarian notation, please. If the type of the variable is not apparent from context, I can da*m well look up the definition, thank you.
A roommate of mine was working on a big project for a major telecommunications company, in a variation of Pascal. Their standard was to encode everything into the variable name - scope, persistance, type, and finally some sort of actual name. The names tended to be over 80 chars in length - making it impossible to simply scan the code. I heard they spent a lot of time in code reviews. I'm suprised they actually got the system to work.

Slashdot Top Deals

** MAXIMUM TERMINALS ACTIVE. TRY AGAIN LATER **

Working...