Posts Tagged ‘for next’
The case against i, j, and k
One of the greatest programming books of all time is Code Complete by Steve McConnell. I often recommend this book to new programmers and when I was running the IT department of the Dot Com I was working for, I made it required reading.
In it, Steve makes a great case against using i, j, and k for incrementing variables as in, for(i =0, i < 20;i++) because it describes nothing about what the code is doing.
What I intend to do today is to demonstrate from a real-life example that he’s right.
Other Related Items:
Safety Fit Sideless Seat Covers (PAIR) Grey Color Next Generation Seat CoversPatented design allows deployment of seat airbags. Next generation bucket seat covers and are very nice
For seats with adjustable headrests
Moldable e... Read More >
Tri-Phase Performance Module for 1990-2009 Hyundai SonataThe Tri-Phase module utilizes a triad of operating parameters that enable the user to select their desired performance level. The Tri-Phase functions ... Read More >
Nintendo DS Lite 20-In-1 Starter Kit - BlackTake your DS Lite gaming to the next level. The ICON Starter Kit includes four Game Cases to protect your cartridges from dust and scratches, Headpho... Read More >
SQL WHILE – SQL For Programmers
The IF statement we looked at on Tuesday was pretty tame compared to the WHILE construct.
Actually, the main thing you need to keep in mind is that WHILE is all you have. There is no such thing as a FOR loop or a DO WHILE loop. So, you have to force WHILE to do those for you.
The basic syntax of WHILE looks like this:
Other Related Items:
Microsoft SQL Server 2000 Administrator's Pocket Consultant (It-Administrator's Pocket Consultant)If specialization is for insects, those of us who have only two legs are bound to need reminders when we sit down to perform a specialized task. For... Read More >
GUESS Women'S Shower3 Once Band Wooden SandalThe "Shower" Sandal from Guess? has its own unique charm with a cutout vamp, wood platform, and heart and bow decor.

