Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET version? #3

Open
KevinT opened this issue Dec 2, 2016 · 7 comments
Open

.NET version? #3

KevinT opened this issue Dec 2, 2016 · 7 comments

Comments

@KevinT
Copy link

KevinT commented Dec 2, 2016

I'd be keen to put a C# version of this out. Would you prefer I did it as a completely separate implementation, or part of this scythe repo?

@michaelfeathers
Copy link
Owner

Would be great to have it in the repo. Have you considered just adding a C# probe and running the Ruby version? Too weird?

@KevinT
Copy link
Author

KevinT commented Dec 4, 2016 via email

@michaelfeathers
Copy link
Owner

Light-weight in what sense?

@KevinT
Copy link
Author

KevinT commented Dec 5, 2016

Assuming this is your overarching optimising goal:

Scythe is a light-weight tool for detecting dead and infrequently used code in production.

I'm thinking some people might have an issue putting Ruby into prod on a .NET architecture - or at least having to jump through some hoops to make it happen. Which would fail the 'light-weight' heuristic. Am I overthinking it?

@antondelsink
Copy link

What @KevinT said re Ruby into prod is true for my use case, so I'll just add the C# class I created into an existing library (see #5), then use the command line to manually check probes.

@antondelsink
Copy link

antondelsink commented Dec 30, 2016

instead of installing Ruby, PowerShell to the rescue:
Get-ChildItem | select Name, @{Name="Multiple Uses";Expression={$_.CreationTime -ne $_.LastWriteTime}} | ft

@kritulrathod
Copy link

@KevinT Not sure if you still need it - Here is my attempt to adapt the Scythe concept in C# - https://github.com/kritulrathod/Scythe

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@michaelfeathers @KevinT @antondelsink and others