Click here to Skip to main content
15,888,610 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!

 
GeneralRe: Suppressing disassembly Pin
kalberts24-Mar-20 9:48
kalberts24-Mar-20 9:48 
NewsTo refactor legacy code or not to refactor legacy code Pin
Kent Sharkey24-Mar-20 8:00
staffKent Sharkey24-Mar-20 8:00 
GeneralRe: To refactor legacy code or not to refactor legacy code Pin
Greg Utas24-Mar-20 8:06
professionalGreg Utas24-Mar-20 8:06 
GeneralRe: To refactor legacy code or not to refactor legacy code Pin
kalberts24-Mar-20 8:39
kalberts24-Mar-20 8:39 
GeneralRe: To refactor legacy code or not to refactor legacy code Pin
Mark_Wallace24-Mar-20 11:42
Mark_Wallace24-Mar-20 11:42 
GeneralRe: To refactor legacy code or not to refactor legacy code Pin
Super Lloyd24-Mar-20 23:14
Super Lloyd24-Mar-20 23:14 
GeneralRe: To refactor legacy code or not to refactor legacy code Pin
Kent Sharkey24-Mar-20 8:41
staffKent Sharkey24-Mar-20 8:41 
GeneralRe: To refactor legacy code or not to refactor legacy code Pin
Gary Wheeler25-Mar-20 2:40
Gary Wheeler25-Mar-20 2:40 
The guy's title uses the word "refactor" twice, but all the article discusses is whether to keep legacy code or throw it away. The two aren't the same thing, unless you're ... inexperienced.

Refactoring means making incremental changes to a code base in order to improve some desirable attribute: maintainability, readability, scope, etc. You start with a working piece of code, and you end with a working piece of code that's better in some meaningful way. According to the author, you have two choices: keep the code as-is, or rewrite it from scratch.

Over time, refactoring could conceivably replace an entire body of code with a significantly different one. It's like the story of the lumberjack and his axe. He's using the axe one day, and the handle breaks. He replaces the handle. Over time and repeated resharpening, the head becomes too small to be used and he replaces the head. He still thinks of it as the same axe, even though its constituent parts are completely different from when he started. In essence he refactored the axe, replacing parts as needed.
Software Zen: delete this;

GeneralRe: To refactor legacy code or not to refactor legacy code Pin
Greg Utas25-Mar-20 3:08
professionalGreg Utas25-Mar-20 3:08 
NewsWindows Defender bug in Windows 10 skips files during scans Pin
Kent Sharkey23-Mar-20 11:30
staffKent Sharkey23-Mar-20 11:30 
GeneralRe: Windows Defender bug in Windows 10 skips files during scans Pin
Nelek23-Mar-20 20:39
protectorNelek23-Mar-20 20:39 
GeneralRe: Windows Defender bug in Windows 10 skips files during scans Pin
Mark_Wallace23-Mar-20 21:07
Mark_Wallace23-Mar-20 21:07 
GeneralRe: Windows Defender bug in Windows 10 skips files during scans Pin
#realJSOP24-Mar-20 3:56
mve#realJSOP24-Mar-20 3:56 
GeneralRe: Windows Defender bug in Windows 10 skips files during scans Pin
ZurdoDev25-Mar-20 3:23
professionalZurdoDev25-Mar-20 3:23 
News.NET Platforms feature comparison Pin
Kent Sharkey23-Mar-20 11:15
staffKent Sharkey23-Mar-20 11:15 
GeneralRe: .NET Platforms feature comparison Pin
Mark_Wallace23-Mar-20 21:33
Mark_Wallace23-Mar-20 21:33 
GeneralRe: .NET Platforms feature comparison Pin
Nelek24-Mar-20 1:07
protectorNelek24-Mar-20 1:07 
GeneralRe: .NET Platforms feature comparison Pin
Dan Neely24-Mar-20 2:31
Dan Neely24-Mar-20 2:31 
GeneralRe: .NET Platforms feature comparison Pin
Nelek24-Mar-20 2:41
protectorNelek24-Mar-20 2:41 
GeneralRe: .NET Platforms feature comparison Pin
Dan Neely24-Mar-20 2:53
Dan Neely24-Mar-20 2:53 
GeneralRe: .NET Platforms feature comparison Pin
Nelek24-Mar-20 3:06
protectorNelek24-Mar-20 3:06 
GeneralRe: .NET Platforms feature comparison Pin
Dan Neely24-Mar-20 4:40
Dan Neely24-Mar-20 4:40 
GeneralRe: .NET Platforms feature comparison Pin
Nelek24-Mar-20 9:09
protectorNelek24-Mar-20 9:09 
NewsMicrosoft details low-code DevOps Pin
Kent Sharkey23-Mar-20 10:15
staffKent Sharkey23-Mar-20 10:15 
GeneralRe: Microsoft details low-code DevOps Pin
Mark_Wallace23-Mar-20 20:55
Mark_Wallace23-Mar-20 20:55 

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.