Click here to Skip to main content
15,926,507 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Windows 10 insider recruits. Pin
Peter Sentveld17-Oct-17 9:18
Peter Sentveld17-Oct-17 9:18 
GeneralRe: Windows 10 insider recruits. Pin
Eddy Vluggen17-Oct-17 22:22
professionalEddy Vluggen17-Oct-17 22:22 
QuestionThis code will self-destruct in... Pin
Chris Maunder16-Oct-17 6:03
cofounderChris Maunder16-Oct-17 6:03 
AnswerRe: This code will self-destruct in... Pin
Nish Nishant16-Oct-17 6:09
sitebuilderNish Nishant16-Oct-17 6:09 
GeneralRe: This code will self-destruct in... Pin
Chris Maunder16-Oct-17 6:16
cofounderChris Maunder16-Oct-17 6:16 
GeneralRe: This code will self-destruct in... Pin
W Balboos, GHB16-Oct-17 6:35
W Balboos, GHB16-Oct-17 6:35 
GeneralRe: This code will self-destruct in... Pin
jschell17-Oct-17 7:55
jschell17-Oct-17 7:55 
GeneralRe: This code will self-destruct in... Pin
W Balboos, GHB17-Oct-17 8:03
W Balboos, GHB17-Oct-17 8:03 
GeneralRe: This code will self-destruct in... Pin
jschell20-Oct-17 8:31
jschell20-Oct-17 8:31 
GeneralRe: This code will self-destruct in... Pin
W Balboos, GHB20-Oct-17 8:43
W Balboos, GHB20-Oct-17 8:43 
GeneralRe: This code will self-destruct in... Pin
jschell23-Oct-17 6:13
jschell23-Oct-17 6:13 
GeneralRe: This code will self-destruct in... Pin
Jeremy Falcon16-Oct-17 8:17
professionalJeremy Falcon16-Oct-17 8:17 
GeneralRe: This code will self-destruct in... Pin
Asday17-Oct-17 0:29
Asday17-Oct-17 0:29 
GeneralRe: This code will self-destruct in... Pin
Slacker00717-Oct-17 2:11
professionalSlacker00717-Oct-17 2:11 
AnswerRe: This code will self-destruct in... Pin
Dave Kreskowiak16-Oct-17 6:12
mveDave Kreskowiak16-Oct-17 6:12 
AnswerRe: This code will self-destruct in... PinPopular
OriginalGriff16-Oct-17 6:19
mveOriginalGriff16-Oct-17 6:19 
AnswerRe: This code will self-destruct in... Pin
lopatir16-Oct-17 6:26
lopatir16-Oct-17 6:26 
GeneralRe: This code will self-destruct in... Pin
Chris Maunder16-Oct-17 7:43
cofounderChris Maunder16-Oct-17 7:43 
GeneralRe: This code will self-destruct in... Pin
Herbie Mountjoy16-Oct-17 23:20
professionalHerbie Mountjoy16-Oct-17 23:20 
AnswerRe: This code will self-destruct in... Pin
Nagy Vilmos16-Oct-17 6:45
professionalNagy Vilmos16-Oct-17 6:45 
AnswerRe: This code will self-destruct in... Pin
GuyThiebaut16-Oct-17 6:47
professionalGuyThiebaut16-Oct-17 6:47 
GeneralRe: This code will self-destruct in... Pin
Chris Maunder16-Oct-17 7:44
cofounderChris Maunder16-Oct-17 7:44 
GeneralRe: This code will self-destruct in... Pin
Kirk 1038982117-Oct-17 6:58
Kirk 1038982117-Oct-17 6:58 
The first thing that comes to mind for me is conditional compilation, tied to the targeted version of the DB you are compiling for (the variable you must set/control, like compiler versions).

Then combined with an IDE feature (Plugin) that goes X revs back to suggest/clean as you go.

I cannot imagine it being done in one step. Using a DB versioning system, we would target a specific X.Y version.

#ifdef DBVER_MM = 7.4
...
#endif

A quick scan of DBVER_MM (Major.Minor) would find removable code. But a plugin could handle it for you to manage the version # of the DB, and suggest/clean the old revs of the code.

The challenge is that you MUST know 2 things:
1) The target DB version: Which changes over time
2) which code will be "targeted" (both for compile time inclusion, and for effective cleaning)

And you should know how long, you want to keep that code around in case it needs to be re-used or reviewed. The good news is that it should also be in revision control.

Just some thoughts.

AnswerRe: This code will self-destruct in... Pin
abmv16-Oct-17 7:15
professionalabmv16-Oct-17 7:15 
AnswerRe: This code will self-destruct in... Pin
kmoorevs16-Oct-17 8:13
kmoorevs16-Oct-17 8:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.