Hacker News new | ask | show | jobs
by lowmagnet 3939 days ago
Not called so delete I guess. What that has to do with style or conventions I don't know.
1 comments

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)
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.