Re: Identifying Dead Code
Re: Identifying Dead Code
- Subject: Re: Identifying Dead Code
- From: Marshall Clow <email@hidden>
- Date: Wed, 20 Jun 2012 12:41:55 -0700
On Jun 20, 2012, at 12:13 PM, Gordon Apple wrote: Is there any simple way to flag all the dead code in a file? After umpteen revisions and rewrites, cleaning up all the useless remaining code can be tedious. What do you mean, exactly?
Code in a routine that is no longer reachable?
if ( i > 10 ) { do stuff; } else if ( i < 15 ) { do other stuff; } else { stuff that is never executed; }
Routines that are never called? Code that is commented out?
-- Marshall
Marshall Clow Idio Software <mailto:email@hidden>
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden