Hacker News new | ask | show | jobs
by walkmod 3939 days ago
Yes, what I wanted to show in this example is that those elements that are "dead" can be removed (there is a plugin for it)
1 comments

Ok, so the commented out for loop in the example is also considered "dead". Walkmod detects that it is in fact commented out code and only then removes it. Correct?
Yes, but in contrast with removing unused private methods, currently there is no walkmod plugin that do this yet. We are working on adding more plugins.