Community Voices

Dr. Dobb's Bloggers

Code Test

January 21, 2008

To help myself understand the mess, I coded some access functions. Thus {moscode}product_to_name(pr){/moscode} returned the product name {moscode}pr[1]{/moscode}; {moscode}basket_to_total_price(bask){/moscode} returned {code}bask[1]{/code}; and {moscode}basket_to_product(bask,N){/moscode} returned {moscode}bask[2][N]{/moscode}.

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task.
However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Video

This month's Dr. Dobb's Journal

This month,
Dr. Dobb's Journal is devoted to mobile programming. We introduce you to Apple's new Swift programming language, discuss the perils of being the third-most-popular mobile platform, revisit SQLite on Android
, and much more!