HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
MarkO
User Rank
Iron
Re: Nov 14 - Day 3: Writing Code That Is Reusable Through Flexibility
MarkO   11/14/2012 2:52:56 PM
NO RATINGS
@Tocard

Just Last Night, I had to make a Quick Fix to code that needs to ship today.  Two different Compile Confiurations to the same Sorce Code, was broken Two years ago, by forcing Both versions to have the same basic settings, by using #define.  The less used version, was broken by replacing an Input Configuration with the Now common basic settings.

To fix the Less Used version, without rewriting the More Used version and retesting all code, I used the #undef to remove the changes, but only from the Less Used Version, and did not change any of the More Used versions code.

 



Partner Zone
Latest Analysis
Visualization and virtual reality tools allow design engineers to build virtual prototypes that can be manipulated collaboratively. You can swap out materials and store data within the file.
Being in an incubator can be analogous to shopping in a “big box retailer.” You can find many things you need under one roof along with moral support to sustain and move your startup to a successful launch.
Scientists at four major universities in Europe have released a joint paper describing the use of light to put active materials into motion and to control that motion, producing lifelike mechanisms that may or may not contain living organisms, but can produce useful work.
Autodesk and Siemens PLM have reached an agreement to create seamless integration between their design software files.
Researchers have developed a lightweight, solar-energy-harvesting mesh of batteries that stretches, making it well-suited to wearable tech.
More:Blogs|News
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Technology Marketplace

Copyright © 2016 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service