Click here to Skip to main content
15,354,006 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
RantRe: The cost of dead code and the only technique you need to know to clean it up Pin
Wonde Tadesse19-Aug-14 11:07
professionalWonde Tadesse19-Aug-14 11:07 
GeneralRe: The cost of dead code and the only technique you need to know to clean it up Pin
ed welch19-Aug-14 14:40
Membered welch19-Aug-14 14:40 
GeneralRe: The cost of dead code and the only technique you need to know to clean it up Pin
PIEBALDconsult19-Aug-14 11:38
professionalPIEBALDconsult19-Aug-14 11:38 
GeneralRe: The cost of dead code and the only technique you need to know to clean it up Pin
Kent Sharkey19-Aug-14 11:40
staffKent Sharkey19-Aug-14 11:40 
GeneralRe: The cost of dead code and the only technique you need to know to clean it up Pin
PIEBALDconsult19-Aug-14 12:13
professionalPIEBALDconsult19-Aug-14 12:13 
GeneralRe: The cost of dead code and the only technique you need to know to clean it up Pin
Simon_Whale19-Aug-14 12:19
professionalSimon_Whale19-Aug-14 12:19 
GeneralRe: The cost of dead code and the only technique you need to know to clean it up Pin
PIEBALDconsult19-Aug-14 12:47
professionalPIEBALDconsult19-Aug-14 12:47 
GeneralRe: The cost of dead code and the only technique you need to know to clean it up Pin
Bernhard Hiller19-Aug-14 22:31
MemberBernhard Hiller19-Aug-14 22:31 
Oh yes, our code base is full of it.

But you can make it easy to spot, e.g. with the #region directive:
C#
#region old version
// Several lines - may be more than a 100 - of code commented out
#endregion
See the beauty of it?

And you can name old projects which you won't ever need again accordingly before you add (!) them additionally to the source code repository:
AbcConfig
AbcConfig.bak
ExhvPlayer.bak
ExhvRecorder
AudioMixer
AudioMixer.ori

When you check out the current workspace, you'll get all of that crap useful code. And, yes, you immediately see what's old and unused.

But worse: many cs-files have the Build Action "none". Can you imagine how I felt when I realized that after adding globalization/localization to many of them?

Dead | X| (We need a pukey - i.e. a puking smiley).
NewsStop using Chrome, Mozilla engineer says Pin
Kent Sharkey19-Aug-14 10:02
staffKent Sharkey19-Aug-14 10:02 
GeneralRe: Stop using Chrome, Mozilla engineer says Pin
Christopher Shields19-Aug-14 10:48
MemberChristopher Shields19-Aug-14 10:48 
GeneralRe: Stop using Chrome, Mozilla engineer says Pin
PIEBALDconsult19-Aug-14 11:06
professionalPIEBALDconsult19-Aug-14 11:06 
NewsGoogle’s new music subscription service, YouTube Music Key, revealed Pin
Kent Sharkey19-Aug-14 9:11
staffKent Sharkey19-Aug-14 9:11 
NewsFormer Microsoft CEO Steve Ballmer resigns from Microsoft's Board of Directors Pin
Kent Sharkey19-Aug-14 8:28
staffKent Sharkey19-Aug-14 8:28 
GeneralRe: Former Microsoft CEO Steve Ballmer resigns from Microsoft's Board of Directors Pin
Christopher Shields19-Aug-14 10:50
MemberChristopher Shields19-Aug-14 10:50 
GeneralRe: Former Microsoft CEO Steve Ballmer resigns from Microsoft's Board of Directors Pin
Duncan Edwards Jones19-Aug-14 11:48
professionalDuncan Edwards Jones19-Aug-14 11:48 
GeneralRe: Former Microsoft CEO Steve Ballmer resigns from Microsoft's Board of Directors Pin
Kent Sharkey19-Aug-14 11:55
staffKent Sharkey19-Aug-14 11:55 
GeneralRe: Former Microsoft CEO Steve Ballmer resigns from Microsoft's Board of Directors Pin
Dennis E White19-Aug-14 12:04
professionalDennis E White19-Aug-14 12:04 
NewsAs DBMS wars continue, PostgreSQL shows most momentum Pin
Kent Sharkey19-Aug-14 8:24
staffKent Sharkey19-Aug-14 8:24 
GeneralRe: As DBMS wars continue, PostgreSQL shows most momentum Pin
Dan Neely20-Aug-14 2:41
MemberDan Neely20-Aug-14 2:41 
NewsWhich language wins in terms of salary/demand (July 2014) Pin
Kent Sharkey19-Aug-14 8:22
staffKent Sharkey19-Aug-14 8:22 
GeneralRe: Which language wins in terms of salary/demand (July 2014) Pin
tgrt19-Aug-14 9:18
Membertgrt19-Aug-14 9:18 
GeneralRe: Which language wins in terms of salary/demand (July 2014) Pin
Swinkaran19-Aug-14 16:54
professionalSwinkaran19-Aug-14 16:54 
GeneralRe: Which language wins in terms of salary/demand (July 2014) Pin
Kent Sharkey19-Aug-14 19:02
staffKent Sharkey19-Aug-14 19:02 
GeneralRe: Which language wins in terms of salary/demand (July 2014) Pin
Rob Grainger20-Aug-14 1:19
MemberRob Grainger20-Aug-14 1:19 
GeneralRe: Which language wins in terms of salary/demand (July 2014) Pin
Kent Sharkey20-Aug-14 5:52
staffKent Sharkey20-Aug-14 5:52 

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.