Show HN: A dead code killer for Erlang
tech.nextroll.com
Show HN: A dead code killer for Erlang
1–5 of 5 posts
Re: Show HN: A dead code killer for Erlang
#2How do you handle code that you want to keep in place commented out, because it might be needed later for debugging/etc?
Re: Show HN: A dead code killer for Erlang
#3How do you handle code that you want to keep in place commented out, because it might be needed later for debugging/etc?
I don't think you're forced to act on anything that it finds; it just points you at things that might be removable cruft.
Re: Show HN: A dead code killer for Erlang
#4The place I work runs a heterogeneous erlang cluster (cluster-as-service-mesh), I assume the best way to deal with this is to mark off that module, or the specific cluster exports, to be ignored.
I imagine this tool also has a hard time identifying function invocations via erlang:apply
Re: Show HN: A dead code killer for Erlang
#5> Hank will detect and warn you about valid parts of your code that could potentially be deleted or at least refactored based on rules.