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
DIY candy, journeys to Mars, coding for road trips, and more. These STEM (science, technology, engineering, and math) activity options will keep kids engaged this summer, from 10-minute activities to more advanced undertakings.
Nothing is more frustrating than developing a plan and then, in the heat of the battle, having to diverge from the plan when chaos happens.
In June, teams from across the US, and several countries worldwide, competed for awards in multiple categories at the 2016 Formula SAE Lincoln competition.
A 45-minute per day free course will take place July 11-15, and will walk engineers through a hands-on approach to debugging real-time embedded software.
Forget doping. Officials at this yearís Tour de France are looking for a very different form of cheating -- electric motors hidden inside the seat tubes of bicycles.
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 | 10


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