Hacker News new | past | comments | ask | show | jobs | submit login

What happens with the private method and the sysout in your example?



Not called so delete I guess. What that has to do with style or conventions I don't know.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: