Re: [ANN] sniper, emacs assistant for deleting dead code

2015-07-31 Thread Jason Wolfe
On Thu, Jul 30, 2015 at 6:05 AM, benedek fazekas benedek.faze...@gmail.com wrote: But it doesn't look like it has the same graph analysis to understand cyclic references, etc, you are right it does not. Wondering if you were interested in adding an API to sniper and publish it on clojars...

Re: [ANN] sniper, emacs assistant for deleting dead code

2015-07-30 Thread benedek fazekas
But it doesn't look like it has the same graph analysis to understand cyclic references, etc, you are right it does not. Wondering if you were interested in adding an API to sniper and publish it on clojars... so we could give a try to do a wrapper around it in refactor-nrepl and perhaps some

Re: [ANN] sniper, emacs assistant for deleting dead code

2015-07-29 Thread Raoul Duke
Inspired by YAGNI, I made this code analyzer and emacs assistant for deleting dead code (and then used it to delete 10% of our codebase): oh, i thought the punch line was it was either going to delete you, or delete itself ;-) -- You received this message because you are subscribed to the

[ANN] sniper, emacs assistant for deleting dead code

2015-07-29 Thread Jason Wolfe
Inspired by YAGNI, I made this code analyzer and emacs assistant for deleting dead code (and then used it to delete 10% of our codebase): https://github.com/w01fe/sniper *Motivation:* Over the years we've accumulated lots of dead code mixed into our namespaces, and getting rid of it manually

Re: [ANN] sniper, emacs assistant for deleting dead code

2015-07-29 Thread Jason Wolfe
Didn't realize that existed, thanks! Looks like it's doing a similar (but more sophisticated) thing to find the references. But it doesn't look like it has the same graph analysis to understand cyclic references, etc, unless I missed it. On Wed, Jul 29, 2015 at 10:26 PM, benedek fazekas

Re: [ANN] sniper, emacs assistant for deleting dead code

2015-07-29 Thread Jason Wolfe
Thanks for the feedback, I'll update the readme to add that now. On Wed, Jul 29, 2015 at 10:32 PM, dennis zhuang killme2...@gmail.com wrote: Cool work. But missing installation or user guide in readme.md? I don't know how to use it in my project. I want to try it. 2015-07-30 13:26

Re: [ANN] sniper, emacs assistant for deleting dead code

2015-07-29 Thread dennis zhuang
Cool work. But missing installation or user guide in readme.md? I don't know how to use it in my project. I want to try it. 2015-07-30 13:26 GMT+08:00 benedek fazekas benedek.faze...@gmail.com: hi, I wonder if you tried clj-refactor which has find usages listing all the usages of your

[ANN] sniper, emacs assistant for deleting dead code

2015-07-29 Thread benedek fazekas
hi, I wonder if you tried clj-refactor which has find usages listing all the usages of your symbol *and* its definition. So if you only find the definition and usages in test that symbol might be candidate for deletion... -- You received this message because you are subscribed to the Google