February 5, 2017

[HDGEM] It is important to isolate the implementation of the data structure from its interface.

Use explicit calls to subroutines that initialize, search, and modify the data structure, rather than embedding them within the code.

This leads to a much cleaner program, but it also makes it easy to try different implementations to see how they impact performance.

Do not worry about the cost of the procedure call overhead inherent in such an abstraction. If your application is so time-critical that such overhead can impact performance, then it is even more essential that you be able to easily experiment with different implementations of your data structure.

--
Posted By Blogger to HDGEM at 2/05/2017 03:19:00 PM
Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...